C# Class Glass.Basics.Controls.EditableTextBlock.EditableTextBlock

Inheritance: System.Windows.Controls.Control
Datei anzeigen Open project: SuperJMN/Glass

Public Properties

Property Type Description
IsEditingProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
AreValidationsPassed bool
EditableTextBlock System.Windows
GetGeneratedParentElement System.Windows.DependencyObject
GetParentItemsControl System.Windows.Controls.ItemsControl
IsChildFromItemsControl bool
OnKeyDown void
OnPreviewMouseLeftButtonDown void
ParentWindowOnPreviewMouseDown void
TextBoxOnLostFocus void
TextBoxOnPreviewLostKeyboardFocus void
TryToExitEditMode void
TurnOffEditMode void
TurnOnEditMode void

Public Methods

Method Description
OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnVisualParentChanged ( DependencyObject oldParent ) : void

Private Methods

Method Description
AreValidationsPassed ( ) : bool
EditableTextBlock ( ) : System.Windows
GetGeneratedParentElement ( ItemsControl itemsControl ) : DependencyObject
GetParentItemsControl ( ) : ItemsControl
IsChildFromItemsControl ( ) : bool
OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs keyEventArgs ) : void
OnPreviewMouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs mouseButtonEventArgs ) : void
ParentWindowOnPreviewMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs mouseButtonEventArgs ) : void
TextBoxOnLostFocus ( object sender, RoutedEventArgs routedEventArgs ) : void
TextBoxOnPreviewLostKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs keyboardFocusChangedEventArgs ) : void
TryToExitEditMode ( ) : void
TurnOffEditMode ( ) : void
TurnOnEditMode ( ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnVisualParentChanged() protected method

protected OnVisualParentChanged ( DependencyObject oldParent ) : void
oldParent System.Windows.DependencyObject
return void

Property Details

IsEditingProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsEditingProperty
return System.Windows.DependencyProperty

TextProperty public_oe static_oe property

public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty