C# Class Microsoft.Windows.Controls.Ribbon.RibbonTextBox

Inheritance: System.Windows.Controls.TextBox, ICommandSource
Afficher le fichier Open project: kasicass/kasicass Class Usage Examples

Méthodes publiques

Свойство Type Description
CanAddToQuickAccessToolBarDirectlyProperty System.Windows.DependencyProperty
CommandParameterProperty System.Windows.DependencyProperty
CommandProperty System.Windows.DependencyProperty
CommandTargetProperty System.Windows.DependencyProperty
ControlSizeDefinitionProperty System.Windows.DependencyProperty
FocusedBackgroundProperty System.Windows.DependencyProperty
FocusedBorderBrushProperty System.Windows.DependencyProperty
IsInControlGroupProperty System.Windows.DependencyProperty
IsInQuickAccessToolBarProperty System.Windows.DependencyProperty
KeyTipProperty System.Windows.DependencyProperty
LabelProperty System.Windows.DependencyProperty
LargeImageSourceProperty System.Windows.DependencyProperty
MouseOverBackgroundProperty System.Windows.DependencyProperty
MouseOverBorderBrushProperty System.Windows.DependencyProperty
QuickAccessToolBarControlSizeDefinitionProperty System.Windows.DependencyProperty
QuickAccessToolBarIdProperty System.Windows.DependencyProperty
RibbonProperty System.Windows.DependencyProperty
ShowKeyboardCuesProperty System.Windows.DependencyProperty
SmallImageSourceProperty System.Windows.DependencyProperty
TextBoxWidthProperty System.Windows.DependencyProperty
ToolTipDescriptionProperty System.Windows.DependencyProperty
ToolTipFooterDescriptionProperty System.Windows.DependencyProperty
ToolTipFooterImageSourceProperty System.Windows.DependencyProperty
ToolTipFooterTitleProperty System.Windows.DependencyProperty
ToolTipImageSourceProperty System.Windows.DependencyProperty
ToolTipTitleProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
HookCommand void
OnActivatingKeyTipThunk void
OnCanExecuteChanged void
OnCommandChanged void
OnKeyTipAccessedThunk void
RibbonTextBox System
UnhookCommand void
UpdateCanExecute void

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void

Méthodes protégées

Méthode Description
OnActivatingKeyTip ( ActivatingKeyTipEventArgs e ) : void
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer

Get AutomationPeer for RibbonTextBox control

OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void

Invoked each time a key-down event occurs. When key-down occurs we check to see if that key was 'Enter', and if so we invoke the associated Command.

OnKeyTipAccessed ( KeyTipAccessedEventArgs e ) : void
OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnTemplateChanged ( System.Windows.Controls.ControlTemplate oldTemplate, System.Windows.Controls.ControlTemplate newTemplate ) : void

Private Methods

Méthode Description
HookCommand ( ICommand command ) : void
OnActivatingKeyTipThunk ( object sender, ActivatingKeyTipEventArgs e ) : void
OnCanExecuteChanged ( object sender, EventArgs e ) : void
OnCommandChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnKeyTipAccessedThunk ( object sender, KeyTipAccessedEventArgs e ) : void
RibbonTextBox ( ) : System

Initializes static members of the RibbonTextBox class. This also overrides the default style, adds a coerce callback, and allows ToolTips to be shown even when the control is disabled.

UnhookCommand ( ICommand command ) : void
UpdateCanExecute ( ) : void

Method Details

OnActivatingKeyTip() protected méthode

protected OnActivatingKeyTip ( ActivatingKeyTipEventArgs e ) : void
e ActivatingKeyTipEventArgs
Résultat void

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnCreateAutomationPeer() protected méthode

Get AutomationPeer for RibbonTextBox control
protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
Résultat System.Windows.Automation.Peers.AutomationPeer

OnGotKeyboardFocus() protected méthode

protected OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
Résultat void

OnKeyDown() protected méthode

Invoked each time a key-down event occurs. When key-down occurs we check to see if that key was 'Enter', and if so we invoke the associated Command.
protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs A KeyEventArgs that contains the event data.
Résultat void

OnKeyTipAccessed() protected méthode

protected OnKeyTipAccessed ( KeyTipAccessedEventArgs e ) : void
e KeyTipAccessedEventArgs
Résultat void

OnLostKeyboardFocus() protected méthode

protected OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
Résultat void

OnTemplateChanged() protected méthode

protected OnTemplateChanged ( System.Windows.Controls.ControlTemplate oldTemplate, System.Windows.Controls.ControlTemplate newTemplate ) : void
oldTemplate System.Windows.Controls.ControlTemplate
newTemplate System.Windows.Controls.ControlTemplate
Résultat void

Property Details

CanAddToQuickAccessToolBarDirectlyProperty public_oe static_oe property

DependencyProperty for CanAddToQuickAccessToolBarDirectly property.
public static DependencyProperty,System.Windows CanAddToQuickAccessToolBarDirectlyProperty
Résultat System.Windows.DependencyProperty

CommandParameterProperty public_oe static_oe property

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

CommandProperty public_oe static_oe property

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

CommandTargetProperty public_oe static_oe property

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

ControlSizeDefinitionProperty public_oe static_oe property

DependencyProperty for ControlSizeDefinition property.
public static DependencyProperty,System.Windows ControlSizeDefinitionProperty
Résultat System.Windows.DependencyProperty

FocusedBackgroundProperty public_oe static_oe property

DependencyProperty for FocusedBackground property.
public static DependencyProperty,System.Windows FocusedBackgroundProperty
Résultat System.Windows.DependencyProperty

FocusedBorderBrushProperty public_oe static_oe property

DependencyProperty for FocusedBorderBrush property.
public static DependencyProperty,System.Windows FocusedBorderBrushProperty
Résultat System.Windows.DependencyProperty

IsInControlGroupProperty public_oe static_oe property

DependencyProperty for IsInControlGroup property.
public static DependencyProperty,System.Windows IsInControlGroupProperty
Résultat System.Windows.DependencyProperty

IsInQuickAccessToolBarProperty public_oe static_oe property

DependencyProperty for IsInQuickAccessToolBar property.
public static DependencyProperty,System.Windows IsInQuickAccessToolBarProperty
Résultat System.Windows.DependencyProperty

KeyTipProperty public_oe static_oe property

DependencyProperty for KeyTip property.
public static DependencyProperty,System.Windows KeyTipProperty
Résultat System.Windows.DependencyProperty

LabelProperty public_oe static_oe property

DependencyProperty for Label property.
public static DependencyProperty,System.Windows LabelProperty
Résultat System.Windows.DependencyProperty

LargeImageSourceProperty public_oe static_oe property

DependencyProperty for LargeImageSource property.
public static DependencyProperty,System.Windows LargeImageSourceProperty
Résultat System.Windows.DependencyProperty

MouseOverBackgroundProperty public_oe static_oe property

DependencyProperty for MouseOverBackground property.
public static DependencyProperty,System.Windows MouseOverBackgroundProperty
Résultat System.Windows.DependencyProperty

MouseOverBorderBrushProperty public_oe static_oe property

DependencyProperty for MouseOverBorderBrush property.
public static DependencyProperty,System.Windows MouseOverBorderBrushProperty
Résultat System.Windows.DependencyProperty

QuickAccessToolBarControlSizeDefinitionProperty public_oe static_oe property

DependencyProperty for QuickAccessToolBarControlSizeDefinition property.
public static DependencyProperty,System.Windows QuickAccessToolBarControlSizeDefinitionProperty
Résultat System.Windows.DependencyProperty

QuickAccessToolBarIdProperty public_oe static_oe property

DependencyProperty for QuickAccessToolBarId property.
public static DependencyProperty,System.Windows QuickAccessToolBarIdProperty
Résultat System.Windows.DependencyProperty

RibbonProperty public_oe static_oe property

DependencyProperty for Ribbon property.
public static DependencyProperty,System.Windows RibbonProperty
Résultat System.Windows.DependencyProperty

ShowKeyboardCuesProperty public_oe static_oe property

DependencyProperty for ShowKeyboardCues property.
public static DependencyProperty,System.Windows ShowKeyboardCuesProperty
Résultat System.Windows.DependencyProperty

SmallImageSourceProperty public_oe static_oe property

DependencyProperty for SmallImageSource property.
public static DependencyProperty,System.Windows SmallImageSourceProperty
Résultat System.Windows.DependencyProperty

TextBoxWidthProperty public_oe static_oe property

DependencyProperty for TextBoxWidth property.
public static DependencyProperty,System.Windows TextBoxWidthProperty
Résultat System.Windows.DependencyProperty

ToolTipDescriptionProperty public_oe static_oe property

DependencyProperty for ToolTipDescription property.
public static DependencyProperty,System.Windows ToolTipDescriptionProperty
Résultat System.Windows.DependencyProperty

ToolTipFooterDescriptionProperty public_oe static_oe property

DependencyProperty for ToolTipFooterDescription property.
public static DependencyProperty,System.Windows ToolTipFooterDescriptionProperty
Résultat System.Windows.DependencyProperty

ToolTipFooterImageSourceProperty public_oe static_oe property

DependencyProperty for ToolTipFooterImageSource property.
public static DependencyProperty,System.Windows ToolTipFooterImageSourceProperty
Résultat System.Windows.DependencyProperty

ToolTipFooterTitleProperty public_oe static_oe property

DependencyProperty for ToolTipFooterTitle property.
public static DependencyProperty,System.Windows ToolTipFooterTitleProperty
Résultat System.Windows.DependencyProperty

ToolTipImageSourceProperty public_oe static_oe property

DependencyProperty for ToolTipImageSource property.
public static DependencyProperty,System.Windows ToolTipImageSourceProperty
Résultat System.Windows.DependencyProperty

ToolTipTitleProperty public_oe static_oe property

DependencyProperty for ToolTipTitle property.
public static DependencyProperty,System.Windows ToolTipTitleProperty
Résultat System.Windows.DependencyProperty