Class Surrogate
Provides attached properties for surrogates.
Inheritance
System.Object
Surrogate
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: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public static class Surrogate
Fields
View SourceIsMouseOverProperty
Identifies the Sartorius.SAF.Presentation.Controls.Surrogate.IsMouseOver attached property.
Declaration
public static readonly DependencyProperty IsMouseOverProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
Methods
View SourceGetIsMouseOver(DependencyObject)
Gets the value of the Sartorius.SAF.Presentation.Controls.Surrogate.IsMouseOver attached property from a given System.Windows.DependencyObject.
Declaration
public static bool GetIsMouseOver(DependencyObject element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element from which to read the property value. |
Returns
Type | Description |
---|---|
System.Boolean | The value of the Sartorius.SAF.Presentation.Controls.Surrogate.IsMouseOver attached property. |
SetIsMouseOver(DependencyObject, Boolean)
Sets the value of the Sartorius.SAF.Presentation.Controls.Surrogate.IsMouseOver attached property for a given System.Windows.DependencyObject.
Declaration
public static void SetIsMouseOver(DependencyObject element, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element from which to read the property value. |
System.Boolean | value | The value. |