seb-win-refactoring/SafeExamBrowser.Settings/Monitoring/MouseSettings.cs

30 lines
755 B
C#
Raw Normal View History

2017-08-04 15:20:33 +02:00
/*
* Copyright (c) 2024 ETH Zürich, IT Services
2017-08-04 15:20:33 +02:00
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
2018-02-15 15:42:54 +01:00
using System;
namespace SafeExamBrowser.Settings.Monitoring
2017-08-04 15:20:33 +02:00
{
/// <summary>
/// Defines all settings for monitoring mouse input.
/// </summary>
2018-02-15 15:42:54 +01:00
[Serializable]
public class MouseSettings
2017-08-04 15:20:33 +02:00
{
/// <summary>
/// Determines whether the user may use the middle mouse button.
/// </summary>
2018-02-15 15:42:54 +01:00
public bool AllowMiddleButton { get; set; }
2017-08-04 15:20:33 +02:00
/// <summary>
/// Determines whether the user may use the right mouse button.
/// </summary>
2018-02-15 15:42:54 +01:00
public bool AllowRightButton { get; set; }
2017-08-04 15:20:33 +02:00
}
}