Show / Hide Table of Contents

Class ComboBoxExtension

Provides attached properties for System.Windows.Controls.ComboBoxes.

Inheritance
System.Object
ComboBoxExtension
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 ComboBoxExtension

Fields

View Source

SelectMessageForegroundProperty

Identifies the Sartorius.SAF.Presentation.Controls.ComboBox.SelectMessageForeground attached property.

Declaration
public static readonly DependencyProperty SelectMessageForegroundProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

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 Source

GetSelectMessage(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.

View Source

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.

View Source

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.

View Source

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.

  • View Source
Back to top Generated by DocFX