C# Class Controls.Toolkit.ContentTextBox

Inheritance: Windows.UI.Xaml.Controls.ContentControl
Afficher le fichier Open project: RedSafi-UX/SugarUIEnhancedControls Class Usage Examples

Méthodes publiques

Свойство Type Description
BackgroundOpacityProperty Windows.UI.Xaml.DependencyProperty
IsOpenProperty Windows.UI.Xaml.DependencyProperty
TextLengthProperty Windows.UI.Xaml.DependencyProperty
TextProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Свойство Type Description
OnAddFileButtonClick void
OnCancelButtonClick void
OnOkButtonClick void
OnTextBoxTextChanged void
SetFocusOnTextBox void
SetState void

Méthodes publiques

Méthode Description
ContentTextBox ( ) : System
IsOpenPropertyChangedCallback ( DependencyObject sender, DependencyPropertyChangedEventArgs args ) : void

Méthodes protégées

Méthode Description
OnApplyTemplate ( ) : void

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

Private Methods

Méthode 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 méthode

public ContentTextBox ( ) : System
Résultat System

IsOpenPropertyChangedCallback() public static méthode

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

OnApplyTemplate() protected méthode

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

Property Details

BackgroundOpacityProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml BackgroundOpacityProperty
Résultat Windows.UI.Xaml.DependencyProperty

IsOpenProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml IsOpenProperty
Résultat Windows.UI.Xaml.DependencyProperty

TextLengthProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml TextLengthProperty
Résultat Windows.UI.Xaml.DependencyProperty

TextProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml TextProperty
Résultat Windows.UI.Xaml.DependencyProperty