Class HighlightOnValueChanged
Attach this property to any input control to bold the control if the input value is different than the default one
Inheritance
Object
HighlightOnValueChanged
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.Desktop.Platform.Controls.Behaviours
Assembly: Sdl.Desktop.Platform.Controls.dll
Syntax
public class HighlightOnValueChanged
Constructors
HighlightOnValueChanged()
Declaration
public HighlightOnValueChanged()
Fields
CompareToProperty
Set the property from which to obtain the current value
Declaration
public static readonly DependencyProperty CompareToProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
DefaultValueProperty
Set the default value.
Declaration
public static readonly DependencyProperty DefaultValueProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Methods
GetCompareTo(DependencyObject)
Declaration
public static string GetCompareTo(DependencyObject depObj)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | depObj |
Returns
| Type | Description |
|---|---|
| String |
GetDefaultValue(DependencyObject)
Declaration
public static object GetDefaultValue(DependencyObject depObj)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | depObj |
Returns
| Type | Description |
|---|---|
| Object |
SetCompareTo(DependencyObject, String)
Declaration
public static void SetCompareTo(DependencyObject depObj, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | depObj | |
| String | value |
SetDefaultValue(DependencyObject, Object)
Declaration
public static void SetDefaultValue(DependencyObject depObj, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | depObj | |
| Object | value |