Class IdleShutdownTimeoutTextSetting
Implements
System.ComponentModel.IDataErrorInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.Xbox.dll
Syntax
public class IdleShutdownTimeoutTextSetting : TextSetting, IDataErrorInfo
Constructors
View SourceIdleShutdownTimeoutTextSetting(String, String, Boolean)
Initializes a new instance of the TextSetting class.
Declaration
public IdleShutdownTimeoutTextSetting(string friendlyName, string initialValue, bool hasNonMatchingProperties)
Parameters
Type | Name | Description |
---|---|---|
System.String | friendlyName | The user-friendly name of the setting. |
System.String | initialValue | The initial value of the setting. |
System.Boolean | hasNonMatchingProperties | Whether or not the setting has non matching properties among the selected devices |
IdleShutdownTimeoutTextSetting(String, String, Boolean, Func<String, ValidationResult>)
Initializes a new instance of the TextSetting class.
Declaration
public IdleShutdownTimeoutTextSetting(string friendlyName, string initialValue, bool hasNonMatchingProperties, Func<string, ValidationResult> validator)
Parameters
Type | Name | Description |
---|---|---|
System.String | friendlyName | The user-friendly name of the setting. |
System.String | initialValue | The initial value of the setting. |
System.Boolean | hasNonMatchingProperties | Whether or not the setting has non matching properties among the selected devices |
System.Func<System.String, System.Windows.Controls.ValidationResult> | validator | The method validating the setting. |
Properties
View SourceIsUnmodified
Gets a value indicating whether the idle shut down timeout was unmodified.
Declaration
public bool IsUnmodified { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Item[String]
Gets the error message for the property with the given name.
Declaration
public override string this[string columnName] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | columnName | Name of the property whose error message to get |
Property Value
Type | Description |
---|---|
System.String | Error message for the property, or string.Empty if there is no error |
Overrides
Implements
System.ComponentModel.IDataErrorInfo