C# Class System.Windows.Controls.Extensions.ComboBox

Represents an attached property for combo box validation and input.
显示文件 Open project: lecode-official/mvvm-framework

Public Properties

Property Type Description
ValueRegexProperty DependencyProperty

Public Methods

Method Description
GetValueRegex ( DependencyObject frameworkElement ) : string

Gets the value of the ValueRegexProperty attached property.

SetValueRegex ( DependencyObject frameworkElement, string value ) : void

Sets the value of the ValueRegexProperty attached property.

Method Details

GetValueRegex() public static method

Gets the value of the ValueRegexProperty attached property.
public static GetValueRegex ( DependencyObject frameworkElement ) : string
frameworkElement DependencyObject The framework element which is used to get the value.
return string

SetValueRegex() public static method

Sets the value of the ValueRegexProperty attached property.
public static SetValueRegex ( DependencyObject frameworkElement, string value ) : void
frameworkElement DependencyObject The framework element which is used to set the value.
value string The value that is to be set.
return void

Property Details

ValueRegexProperty public_oe static_oe property

Contains the dependency property that contains a regex that validates the input.
public static DependencyProperty ValueRegexProperty
return DependencyProperty