C# Class Controls.Toolkit.ContentTextBox

Inheritance: Windows.UI.Xaml.Controls.ContentControl
Show file Open project: RedSafi-UX/SugarUIEnhancedControls Class Usage Examples

Public Properties

Property Type Description
BackgroundOpacityProperty Windows.UI.Xaml.DependencyProperty
IsOpenProperty Windows.UI.Xaml.DependencyProperty
TextLengthProperty Windows.UI.Xaml.DependencyProperty
TextProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Property Type Description
OnAddFileButtonClick void
OnCancelButtonClick void
OnOkButtonClick void
OnTextBoxTextChanged void
SetFocusOnTextBox void
SetState void

Public Methods

Method Description
ContentTextBox ( ) : System
IsOpenPropertyChangedCallback ( DependencyObject sender, DependencyPropertyChangedEventArgs args ) : void

Protected Methods

Method Description
OnApplyTemplate ( ) : void

Builds the visual tree for the ContentTextBox control when a new template is applied.

Private Methods

Method Description
OnAddFileButtonClick ( object sender, RoutedEventArgs e ) : void

Event handle for AddFileButton Template part's click Event.

OnCancelButtonClick ( object sender, RoutedEventArgs e ) : void

Event handle for CancelButton Template part's click Event.

OnOkButtonClick ( object sender, RoutedEventArgs e ) : void

Event handle for OkButton Template part's click Event.

OnTextBoxTextChanged ( object sender, TextChangedEventArgs e ) : void

Event handle for TextBox Template part's TextChanged Event

SetFocusOnTextBox ( ) : void

//Set focus on TextBox Element

SetState ( bool isOpen ) : void

Method Details

ContentTextBox() public method

public ContentTextBox ( ) : System
return System

IsOpenPropertyChangedCallback() public static method

public static IsOpenPropertyChangedCallback ( DependencyObject sender, DependencyPropertyChangedEventArgs args ) : void
sender Windows.UI.Xaml.DependencyObject
args Windows.UI.Xaml.DependencyPropertyChangedEventArgs
return void

OnApplyTemplate() protected method

Builds the visual tree for the ContentTextBox control when a new template is applied.
protected OnApplyTemplate ( ) : void
return void

Property Details

BackgroundOpacityProperty public static property

public static DependencyProperty,Windows.UI.Xaml BackgroundOpacityProperty
return Windows.UI.Xaml.DependencyProperty

IsOpenProperty public static property

public static DependencyProperty,Windows.UI.Xaml IsOpenProperty
return Windows.UI.Xaml.DependencyProperty

TextLengthProperty public static property

public static DependencyProperty,Windows.UI.Xaml TextLengthProperty
return Windows.UI.Xaml.DependencyProperty

TextProperty public static property

public static DependencyProperty,Windows.UI.Xaml TextProperty
return Windows.UI.Xaml.DependencyProperty