Class ComboBoxExtension
Provides attached properties for System.Windows.Controls.ComboBoxes.
Inheritance
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public static class ComboBoxExtension
Fields
View SourceSelectMessageForegroundProperty
Identifies the Sartorius.SAF.Presentation.Controls.ComboBox.SelectMessageForeground attached property.
Declaration
public static readonly DependencyProperty SelectMessageForegroundProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
SelectMessageProperty
Identifies the Sartorius.SAF.Presentation.Controls.ComboBox.SelectMessage attached property.
Declaration
public static readonly DependencyProperty SelectMessageProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
Methods
View SourceGetSelectMessage(DependencyObject)
Gets the value of the Sartorius.SAF.Presentation.Controls.ComboBox.SelectMessage attached property from a given System.Windows.DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(ComboBox))]
public static string GetSelectMessage(DependencyObject element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element from which to read the property value. |
Returns
Type | Description |
---|---|
System.String | The value of the Sartorius.SAF.Presentation.Controls.ComboBox.SelectMessage attached property. |
GetSelectMessageForeground(DependencyObject)
Gets the value of the Sartorius.SAF.Presentation.Controls.ComboBox.SelectMessageForeground attached property from a given System.Windows.DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(ComboBox))]
public static Brush GetSelectMessageForeground(DependencyObject element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element from which to read the property value. |
Returns
Type | Description |
---|---|
System.Windows.Media.Brush | The value of the Sartorius.SAF.Presentation.Controls.ComboBox.SelectMessageForeground attached property. |
SetSelectMessage(DependencyObject, String)
Sets the value of the Sartorius.SAF.Presentation.Controls.ComboBox.SelectMessage attached property to a given System.Windows.DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(ComboBox))]
public static void SetSelectMessage(DependencyObject element, string value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element on which to set the attached property. |
System.String | value | The property value to set. |
SetSelectMessageForeground(DependencyObject, Brush)
Sets the value of the Sartorius.SAF.Presentation.Controls.ComboBox.SelectMessageForeground attached property to a given System.Windows.DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(ComboBox))]
public static void SetSelectMessageForeground(DependencyObject element, Brush value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element on which to set the attached property. |
System.Windows.Media.Brush | value | The property value to set. |