Class ComboBoxExtension
Provides attached properties for ComboBoxes.
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 |
|---|---|
| DependencyProperty |
SelectMessageProperty
Identifies the Sartorius.SAF.Presentation.Controls.ComboBox.SelectMessage attached property.
Declaration
public static readonly DependencyProperty SelectMessageProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Methods
View SourceGetSelectMessage(DependencyObject)
Gets the value of the Sartorius.SAF.Presentation.Controls.ComboBox.SelectMessage attached property from a given DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(ComboBox))]
public static string GetSelectMessage(DependencyObject element)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The element from which to read the property value. |
Returns
| Type | Description |
|---|---|
| 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 DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(ComboBox))]
public static Brush GetSelectMessageForeground(DependencyObject element)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The element from which to read the property value. |
Returns
| Type | Description |
|---|---|
| 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 DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(ComboBox))]
public static void SetSelectMessage(DependencyObject element, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The element on which to set the attached property. |
| 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 DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(ComboBox))]
public static void SetSelectMessageForeground(DependencyObject element, Brush value)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The element on which to set the attached property. |
| Brush | value | The property value to set. |