C# Class Fluent.TextBox

Inheritance: RibbonControl
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

Свойство Type Description
AutoWordSelectionProperty System.Windows.DependencyProperty
CaretBrushProperty System.Windows.DependencyProperty
CharacterCasingProperty System.Windows.DependencyProperty
InputWidthProperty System.Windows.DependencyProperty
IsReadOnlyProperty System.Windows.DependencyProperty
IsUndoEnabledProperty System.Windows.DependencyProperty
MaxLengthProperty System.Windows.DependencyProperty
SelectionBrushProperty System.Windows.DependencyProperty
SelectionOpacityProperty System.Windows.DependencyProperty
TextAlignmentProperty System.Windows.DependencyProperty
TextDecorationsProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty
UndoLimitProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
AppendText ( string text ) : void

Appends text

Copy ( ) : void

Copies selected content to the clipboard

CreateQuickAccessItem ( ) : FrameworkElement

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.

Cut ( ) : void

Cuts selected content to the clipboard

OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate

OnKeyTipPressed ( ) : void

Handles key tip pressed

OnTextBoxTemplatedGotKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnTextBoxTemplatedKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnTextBoxTemplatedLostFocus ( object sender, RoutedEventArgs e ) : void
OnTextBoxTemplatedSelectionChanged ( object sender, RoutedEventArgs e ) : void
OnTextBoxTemplatedTextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
Paste ( ) : void

Pastes content from the clipboard

RaiseSelectionChanged ( ) : void
RaiseTextChanged ( System.Windows.Controls.TextChangedEventArgs args ) : void
Redo ( ) : bool

Redoes the most recent undo command

Select ( int start, int length ) : void

Selects contents

SelectAll ( ) : void

Selects all the contents

Undo ( ) : bool

Undoes the most recent undo command

Méthodes protégées

Méthode Description
BindQuickAccessItem ( FrameworkElement element ) : void

This method must be overridden to bind properties to use in quick access creating

OnGotFocus ( RoutedEventArgs e ) : void

Invoked whenever an unhandled E:System.Windows.UIElement.GotFocus event reaches this element in its route.

OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void

Invoked when an unhandled System.Windows.Input.Keyboard.KeyUp�attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Private Methods

Méthode Description
IsTemplateValid ( ) : bool
OnCoerceStyle ( DependencyObject d, object basevalue ) : object
TextBox ( ) : System

Method Details

AppendText() public méthode

Appends text
public AppendText ( string text ) : void
text string Text
Résultat void

BindQuickAccessItem() protected méthode

This method must be overridden to bind properties to use in quick access creating
protected BindQuickAccessItem ( FrameworkElement element ) : void
element System.Windows.FrameworkElement Toolbar item
Résultat void

Copy() public méthode

Copies selected content to the clipboard
public Copy ( ) : void
Résultat void

CreateQuickAccessItem() public méthode

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.
public CreateQuickAccessItem ( ) : FrameworkElement
Résultat System.Windows.FrameworkElement

Cut() public méthode

Cuts selected content to the clipboard
public Cut ( ) : void
Résultat void

OnApplyTemplate() public méthode

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate
public OnApplyTemplate ( ) : void
Résultat void

OnGotFocus() protected méthode

Invoked whenever an unhandled E:System.Windows.UIElement.GotFocus event reaches this element in its route.
protected OnGotFocus ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs The that contains the event data.
Résultat void

OnKeyTipPressed() public méthode

Handles key tip pressed
public OnKeyTipPressed ( ) : void
Résultat void

OnKeyUp() protected méthode

Invoked when an unhandled System.Windows.Input.Keyboard.KeyUp�attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs The System.Windows.Input.KeyEventArgs that contains the event data.
Résultat void

OnTextBoxTemplatedGotKeyboardFocus() public méthode

public OnTextBoxTemplatedGotKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
sender object
e System.Windows.Input.KeyboardFocusChangedEventArgs
Résultat void

OnTextBoxTemplatedKeyDown() public méthode

public OnTextBoxTemplatedKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
sender object
e System.Windows.Input.KeyEventArgs
Résultat void

OnTextBoxTemplatedLostFocus() public méthode

public OnTextBoxTemplatedLostFocus ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Résultat void

OnTextBoxTemplatedSelectionChanged() public méthode

public OnTextBoxTemplatedSelectionChanged ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Résultat void

OnTextBoxTemplatedTextChanged() public méthode

public OnTextBoxTemplatedTextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
sender object
e System.Windows.Controls.TextChangedEventArgs
Résultat void

Paste() public méthode

Pastes content from the clipboard
public Paste ( ) : void
Résultat void

RaiseSelectionChanged() public méthode

public RaiseSelectionChanged ( ) : void
Résultat void

RaiseTextChanged() public méthode

public RaiseTextChanged ( System.Windows.Controls.TextChangedEventArgs args ) : void
args System.Windows.Controls.TextChangedEventArgs
Résultat void

Redo() public méthode

Redoes the most recent undo command
public Redo ( ) : bool
Résultat bool

Select() public méthode

Selects contents
public Select ( int start, int length ) : void
start int Start
length int Length
Résultat void

SelectAll() public méthode

Selects all the contents
public SelectAll ( ) : void
Résultat void

Undo() public méthode

Undoes the most recent undo command
public Undo ( ) : bool
Résultat bool

Property Details

AutoWordSelectionProperty public_oe static_oe property

Using a DependencyProperty as the backing store for AutoWordSelection. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows AutoWordSelectionProperty
Résultat System.Windows.DependencyProperty

CaretBrushProperty public_oe static_oe property

Using a DependencyProperty as the backing store for CaretBrush. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows CaretBrushProperty
Résultat System.Windows.DependencyProperty

CharacterCasingProperty public_oe static_oe property

Using a DependencyProperty as the backing store for CharacterCasing. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows CharacterCasingProperty
Résultat System.Windows.DependencyProperty

InputWidthProperty public_oe static_oe property

Using a DependencyProperty as the backing store for InputWidth. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows InputWidthProperty
Résultat System.Windows.DependencyProperty

IsReadOnlyProperty public_oe static_oe property

Using a DependencyProperty as the backing store for IsReadonly. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsReadOnlyProperty
Résultat System.Windows.DependencyProperty

IsUndoEnabledProperty public_oe static_oe property

Using a DependencyProperty as the backing store for IsUndoEnabled. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsUndoEnabledProperty
Résultat System.Windows.DependencyProperty

MaxLengthProperty public_oe static_oe property

Using a DependencyProperty as the backing store for MaxLength. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows MaxLengthProperty
Résultat System.Windows.DependencyProperty

SelectionBrushProperty public_oe static_oe property

Using a DependencyProperty as the backing store for SelectionBrush. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows SelectionBrushProperty
Résultat System.Windows.DependencyProperty

SelectionOpacityProperty public_oe static_oe property

Using a DependencyProperty as the backing store for SelectionOpacity. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows SelectionOpacityProperty
Résultat System.Windows.DependencyProperty

TextAlignmentProperty public_oe static_oe property

Using a DependencyProperty as the backing store for TextAlignment. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows TextAlignmentProperty
Résultat System.Windows.DependencyProperty

TextDecorationsProperty public_oe static_oe property

Using a DependencyProperty as the backing store for TextDecorations. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows TextDecorationsProperty
Résultat System.Windows.DependencyProperty

TextProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Content. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows TextProperty
Résultat System.Windows.DependencyProperty

UndoLimitProperty public_oe static_oe property

Using a DependencyProperty as the backing store for UndoLimit. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows UndoLimitProperty
Résultat System.Windows.DependencyProperty