C# Class System.Windows.Controls.ComboBox

Inheritance: System.Windows.Controls.Primitives.Selector
Exibir arquivo Open project: shana/moon Class Usage Examples

Public Properties

Property Type Description
IsDropDownOpenProperty DependencyProperty
IsSelectionActiveProperty DependencyProperty
ItemContainerStyleProperty DependencyProperty
MaxDropDownHeightProperty DependencyProperty

Private Properties

Property Type Description
InvokeIsEnabledPropertyChanged void
IsDropDownOpenChanged void
MaxDropDownHeightChanged void
OnItemContainerStyleChanged void
UpdateDisplayedItem void
UpdatePopupMaxHeight void
UpdatePopupSizeAndPosition void
UpdateVisualState void

Public Methods

Method Description
ComboBox ( ) : System
OnApplyTemplate ( ) : void

Protected Methods

Method Description
ArrangeOverride ( Size arrangeBounds ) : Size
ClearContainerForItemOverride ( DependencyObject element, object item ) : void
GetContainerForItemOverride ( ) : DependencyObject
IsItemItsOwnContainerOverride ( object item ) : bool
OnCreateAutomationPeer ( ) : AutomationPeer
OnDropDownClosed ( EventArgs e ) : void
OnDropDownOpened ( EventArgs e ) : void
OnGotFocus ( RoutedEventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnLostFocus ( RoutedEventArgs e ) : void
OnMouseEnter ( MouseEventArgs e ) : void
OnMouseLeave ( MouseEventArgs e ) : void
OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void
OnMouseWheel ( MouseWheelEventArgs e ) : void
PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

Private Methods

Method Description
InvokeIsEnabledPropertyChanged ( ) : void
IsDropDownOpenChanged ( DependencyObject sender, DependencyPropertyChangedEventArgs e ) : void
MaxDropDownHeightChanged ( DependencyObject sender, DependencyPropertyChangedEventArgs e ) : void
OnItemContainerStyleChanged ( Style oldStyle, Style newStyle ) : void
UpdateDisplayedItem ( object selectedItem ) : void
UpdatePopupMaxHeight ( double height ) : void
UpdatePopupSizeAndPosition ( object sender, EventArgs args ) : void
UpdateVisualState ( bool useTransitions ) : void

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size arrangeBounds ) : Size
arrangeBounds Size
return Size

ClearContainerForItemOverride() protected method

protected ClearContainerForItemOverride ( DependencyObject element, object item ) : void
element DependencyObject
item object
return void

ComboBox() public method

public ComboBox ( ) : System
return System

GetContainerForItemOverride() protected method

protected GetContainerForItemOverride ( ) : DependencyObject
return DependencyObject

IsItemItsOwnContainerOverride() protected method

protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
return bool

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnCreateAutomationPeer() protected method

protected OnCreateAutomationPeer ( ) : AutomationPeer
return AutomationPeer

OnDropDownClosed() protected method

protected OnDropDownClosed ( EventArgs e ) : void
e EventArgs
return void

OnDropDownOpened() protected method

protected OnDropDownOpened ( EventArgs e ) : void
e EventArgs
return void

OnGotFocus() protected method

protected OnGotFocus ( RoutedEventArgs e ) : void
e RoutedEventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( RoutedEventArgs e ) : void
e RoutedEventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseLeftButtonDown() protected method

protected OnMouseLeftButtonDown ( MouseButtonEventArgs e ) : void
e MouseButtonEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( MouseWheelEventArgs e ) : void
e MouseWheelEventArgs
return void

PrepareContainerForItemOverride() protected method

protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element DependencyObject
item object
return void

Property Details

IsDropDownOpenProperty public_oe static_oe property

public static DependencyProperty IsDropDownOpenProperty
return DependencyProperty

IsSelectionActiveProperty public_oe static_oe property

public static DependencyProperty IsSelectionActiveProperty
return DependencyProperty

ItemContainerStyleProperty public_oe static_oe property

public static DependencyProperty ItemContainerStyleProperty
return DependencyProperty

MaxDropDownHeightProperty public_oe static_oe property

public static DependencyProperty MaxDropDownHeightProperty
return DependencyProperty