C# 클래스 Microsoft.Windows.Controls.Ribbon.RibbonComboBox

A ComboBox which can host a RibbonGallery and RibbonMenuItems. RibbonComboBox displays selected Text only for first occurrence of a RibbonGallery.
상속: RibbonMenuButton
파일 보기 프로젝트 열기: kasicass/kasicass 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IsEditableProperty System.Windows.DependencyProperty
IsReadOnlyProperty System.Windows.DependencyProperty
SelectionBoxItemProperty System.Windows.DependencyProperty
SelectionBoxItemStringFormatProperty System.Windows.DependencyProperty
SelectionBoxItemTemplateProperty System.Windows.DependencyProperty
SelectionBoxItemTemplateSelectorProperty System.Windows.DependencyProperty
SelectionBoxWidthProperty System.Windows.DependencyProperty
ShowKeyboardCuesProperty System.Windows.DependencyProperty
StaysOpenOnEditProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
CacheSelectedItem void
CloneLayoutUpdated void
CommitOrCancelChanges void
DiscardCachedSelectedItem void
ExtractString string
HighlightedItemUpdated void
InitializeStringContentTemplate void
OnEditableTextBoxSelectionChanged void
OnEditableTextBoxTextChanged void
OnGalleryGotKeyboardFocus void
OnGalleryHighlightChanged void
OnGalleryItemSelectionChanged void
OnGallerySelectionChanged void
OnIsDropDownOpenChanged void
OnIsEditableChanged void
OnTextChanged void
ReevalutateFocusVisual void
RestoreCachedSelectedItem void
RibbonComboBox System
SelectedItemUpdated void
TextUpdated void
TransferPseudoInheritedProperties void
Update void
UpdateEditableTextBox void
UpdateFirstGallery void
UpdateSelectionBoxItem void
UpdateSelectionProperties void

공개 메소드들

메소드 설명
OnApplyTemplate ( ) : void

보호된 메소드들

메소드 설명
ClearContainerForItemOverride ( DependencyObject element, object item ) : void
OnActivatingKeyTip ( ActivatingKeyTipEventArgs e ) : void
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnIsKeyboardFocusWithinChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
OnKeyTipAccessed ( KeyTipAccessedEventArgs e ) : void
OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void
OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
OnPreviewMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnTextInput ( System.Windows.Input.TextCompositionEventArgs e ) : void
PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

비공개 메소드들

메소드 설명
CacheSelectedItem ( ) : void
CloneLayoutUpdated ( object sender, EventArgs e ) : void
CommitOrCancelChanges ( bool commitChanges ) : void
DiscardCachedSelectedItem ( ) : void
ExtractString ( DependencyObject d ) : string
HighlightedItemUpdated ( ) : void
InitializeStringContentTemplate ( ) : void
OnEditableTextBoxSelectionChanged ( object sender, RoutedEventArgs e ) : void
OnEditableTextBoxTextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
OnGalleryGotKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
OnGalleryHighlightChanged ( object sender, EventArgs e ) : void
OnGalleryItemSelectionChanged ( object sender, RoutedEventArgs e ) : void
OnGallerySelectionChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
OnIsDropDownOpenChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsEditableChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTextChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ReevalutateFocusVisual ( ) : void
RestoreCachedSelectedItem ( ) : void
RibbonComboBox ( ) : System

Initializes static members of the RibbonComboBox class. Here we override the default style, a coerce callback, and allow tooltips to be shown for disabled controls.

SelectedItemUpdated ( ) : void
TextUpdated ( string newText, bool textBoxUpdated ) : void
TransferPseudoInheritedProperties ( ) : void
Update ( ) : void
UpdateEditableTextBox ( ) : void
UpdateFirstGallery ( ) : void

Cache Container and item of first occurrence of a RibbonGallery

UpdateSelectionBoxItem ( ) : void

This function updates the selected item in the "selection box". This is called when selection changes or when the combobox switches from editable to non-editable or vice versa. This will also get called in ApplyTemplate in case selection is set prior to the control being measured.

UpdateSelectionProperties ( ) : void

메소드 상세

ClearContainerForItemOverride() 보호된 메소드

protected ClearContainerForItemOverride ( DependencyObject element, object item ) : void
element System.Windows.DependencyObject
item object
리턴 void

OnActivatingKeyTip() 보호된 메소드

protected OnActivatingKeyTip ( ActivatingKeyTipEventArgs e ) : void
e Microsoft.Windows.Controls.ActivatingKeyTipEventArgs
리턴 void

OnApplyTemplate() 공개 메소드

public OnApplyTemplate ( ) : void
리턴 void

OnCreateAutomationPeer() 보호된 메소드

protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
리턴 System.Windows.Automation.Peers.AutomationPeer

OnGotKeyboardFocus() 보호된 메소드

protected OnGotKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
리턴 void

OnIsKeyboardFocusWithinChanged() 보호된 메소드

protected OnIsKeyboardFocusWithinChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
e System.Windows.DependencyPropertyChangedEventArgs
리턴 void

OnItemsChanged() 보호된 메소드

protected OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
e System.Collections.Specialized.NotifyCollectionChangedEventArgs
리턴 void

OnKeyDown() 보호된 메소드

protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
리턴 void

OnKeyTipAccessed() 보호된 메소드

protected OnKeyTipAccessed ( KeyTipAccessedEventArgs e ) : void
e Microsoft.Windows.Controls.KeyTipAccessedEventArgs
리턴 void

OnKeyUp() 보호된 메소드

protected OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
리턴 void

OnLostKeyboardFocus() 보호된 메소드

protected OnLostKeyboardFocus ( System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
e System.Windows.Input.KeyboardFocusChangedEventArgs
리턴 void

OnPreviewKeyDown() 보호된 메소드

protected OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs
리턴 void

OnPreviewMouseDown() 보호된 메소드

protected OnPreviewMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
리턴 void

OnTextInput() 보호된 메소드

protected OnTextInput ( System.Windows.Input.TextCompositionEventArgs e ) : void
e System.Windows.Input.TextCompositionEventArgs
리턴 void

PrepareContainerForItemOverride() 보호된 메소드

protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element System.Windows.DependencyObject
item object
리턴 void

프로퍼티 상세

IsEditableProperty 공개적으로 정적으로 프로퍼티

DependencyProperty for IsEditable
public static DependencyProperty,System.Windows IsEditableProperty
리턴 System.Windows.DependencyProperty

IsReadOnlyProperty 공개적으로 정적으로 프로퍼티

DependencyProperty for the IsReadOnlyProperty
public static DependencyProperty,System.Windows IsReadOnlyProperty
리턴 System.Windows.DependencyProperty

SelectionBoxItemProperty 공개적으로 정적으로 프로퍼티

The DependencyProperty for the SelectionBoxItemProperty
public static DependencyProperty,System.Windows SelectionBoxItemProperty
리턴 System.Windows.DependencyProperty

SelectionBoxItemStringFormatProperty 공개적으로 정적으로 프로퍼티

The DependencyProperty for the SelectionBoxItemProperty
public static DependencyProperty,System.Windows SelectionBoxItemStringFormatProperty
리턴 System.Windows.DependencyProperty

SelectionBoxItemTemplateProperty 공개적으로 정적으로 프로퍼티

The DependencyProperty for the SelectionBoxItemTemplate Property
public static DependencyProperty,System.Windows SelectionBoxItemTemplateProperty
리턴 System.Windows.DependencyProperty

SelectionBoxItemTemplateSelectorProperty 공개적으로 정적으로 프로퍼티

The DependencyProperty for the SelectionBoxItemTemplateSelector Property
public static DependencyProperty,System.Windows SelectionBoxItemTemplateSelectorProperty
리턴 System.Windows.DependencyProperty

SelectionBoxWidthProperty 공개적으로 정적으로 프로퍼티

DependencyProperty for TextBoxWidth property.
public static DependencyProperty,System.Windows SelectionBoxWidthProperty
리턴 System.Windows.DependencyProperty

ShowKeyboardCuesProperty 공개적으로 정적으로 프로퍼티

DependencyProperty for ShowKeyboardCues property.
public static DependencyProperty,System.Windows ShowKeyboardCuesProperty
리턴 System.Windows.DependencyProperty

StaysOpenOnEditProperty 공개적으로 정적으로 프로퍼티

DependencyProperty for StaysOpenOnEdit
public static DependencyProperty,System.Windows StaysOpenOnEditProperty
리턴 System.Windows.DependencyProperty

TextProperty 공개적으로 정적으로 프로퍼티

DependencyProperty for Text
public static DependencyProperty,System.Windows TextProperty
리턴 System.Windows.DependencyProperty