ComboBox Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
The ComboBox type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddHandler | Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route. (Inherited from UIElement.) |
|
ApplyTemplate | (Inherited from Control.) |
|
Arrange | Positions child objects and determines a size for a UIElement. Parent objects that implement custom layout for their child elements should call this method from their layout override implementations to form a recursive layout update. (Inherited from UIElement.) |
|
ArrangeOverride | Arranges and sizes the combo box control and its contents. (Overrides FrameworkElement.ArrangeOverride(Size).) |
|
CaptureMouse | Sets touch capture to a UIElement. (Inherited from UIElement.) |
|
CheckAccess | Determines whether the calling thread has access to this object. (Inherited from DependencyObject.) |
|
ClearContainerForItemOverride | Removes all templates, styles, and bindings for the object displayed as a ComboBoxItem. (Overrides Selector.ClearContainerForItemOverride(DependencyObject, Object).) |
|
ClearValue | Clears the local value of a dependency property. (Inherited from DependencyObject.) |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
FindName | Retrieves an object that has the specified identifier name. (Inherited from FrameworkElement.) |
|
Focus | (Inherited from Control.) |
|
GetAnimationBaseValue | Returns any base value established for a Windows Phone dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject.) |
|
GetBindingExpression | Retrieves the BindingExpression for a dependency property where a binding is established. (Inherited from FrameworkElement.) |
|
GetContainerForItemOverride | Retrieves an empty combo box item. (Overrides ItemsControl.GetContainerForItemOverride.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetTemplateChild | (Inherited from Control.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
GetValue | Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject.) |
|
InvalidateArrange | Invalidates the arrange state (layout) for a UIElement. After the invalidation, the UIElement will have its layout updated, which will occur asynchronously. (Inherited from UIElement.) |
|
InvalidateMeasure | Invalidates the measurement state (layout) for a UIElement. (Inherited from UIElement.) |
|
IsItemItsOwnContainerOverride | Determines whether the specified item is (or is eligible to be) its own item container. (Overrides ItemsControl.IsItemItsOwnContainerOverride(Object).) |
|
Measure | Updates the DesiredSize of a UIElement. Typically, objects that implement custom layout for their layout children call this method from their own MeasureOverride implementations to form a recursive layout update. (Inherited from UIElement.) |
|
MeasureOverride | Provides the behavior for the Measure pass of Windows Phone layout. Classes can override this method to define their own Measure pass behavior. (Inherited from FrameworkElement.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnApplyTemplate | Builds the visual tree for the ComboBox when a new template is applied. (Overrides Selector.OnApplyTemplate.) |
|
OnCreateAutomationPeer | Returns a ComboBoxAutomationPeer for use by the Windows Phone automation infrastructure. (Overrides UIElement.OnCreateAutomationPeer.) |
|
OnDoubleTap | (Inherited from Control.) |
|
OnDragEnter | (Inherited from Control.) |
|
OnDragLeave | (Inherited from Control.) |
|
OnDragOver | (Inherited from Control.) |
|
OnDrop | (Inherited from Control.) |
|
OnDropDownClosed | Raises the DropDownClosed event. |
|
OnDropDownOpened | Raises the DropDownOpened event. |
|
OnGotFocus | Provides handling for the GotFocus event. (Overrides Control.OnGotFocus(RoutedEventArgs).) |
|
OnHold | (Inherited from Control.) |
|
OnItemsChanged | Updates the current selected item when the Items collection has changed. (Inherited from Selector.) |
|
OnKeyDown | Provides handling for the KeyDown event. (Overrides Control.OnKeyDown(KeyEventArgs).) |
|
OnKeyUp | (Inherited from Control.) |
|
OnLostFocus | Provides handling for the LostFocus event. (Overrides Control.OnLostFocus(RoutedEventArgs).) |
|
OnLostMouseCapture | (Inherited from Control.) |
|
OnManipulationCompleted | (Inherited from Control.) |
|
OnManipulationDelta | (Inherited from Control.) |
|
OnManipulationStarted | (Inherited from Control.) |
|
OnMouseEnter | Provides handling for the MouseEnter event that occurs when the user’s finger enters this control. (Overrides Control.OnMouseEnter(MouseEventArgs).) |
|
OnMouseLeave | Provides handling for the MouseLeave event that occurs when the user’s finger leaves the combo box. (Overrides Control.OnMouseLeave(MouseEventArgs).) |
|
OnMouseLeftButtonDown | Provides handling for the MouseLeftButtonDown event that occurs when the user touches the screen within the bounds the combo box. (Overrides Control.OnMouseLeftButtonDown(MouseButtonEventArgs).) |
|
OnMouseLeftButtonUp | (Inherited from Control.) |
|
OnMouseMove | (Inherited from Control.) |
|
OnMouseRightButtonDown | (Inherited from Control.) |
|
OnMouseRightButtonUp | (Inherited from Control.) |
|
OnMouseWheel | Infrastructure. Provides handling for the MouseWheel event. (Overrides Control.OnMouseWheel(MouseWheelEventArgs).) |
|
OnTap | (Inherited from Control.) |
|
OnTextInput | (Inherited from Control.) |
|
OnTextInputStart | (Inherited from Control.) |
|
OnTextInputUpdate | (Inherited from Control.) |
|
PrepareContainerForItemOverride | Prepares the specified element to display the specified item. (Overrides Selector.PrepareContainerForItemOverride(DependencyObject, Object).) |
|
ReadLocalValue | Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject.) |
|
ReleaseMouseCapture | Removes touch capture from a UIElement. After this call, typically no object holds touch capture. (Inherited from UIElement.) |
|
RemoveHandler | Removes the specified routed event handler from this UIElement. (Inherited from UIElement.) |
|
SetBinding | Attaches a binding to a FrameworkElement, using the provided binding object, and returns a BindingExpressionBase for possible later use. (Inherited from FrameworkElement.) |
|
SetValue | Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
TransformToVisual | Returns a transform object that can be used to transform coordinates from the UIElement to the specified object. (Inherited from UIElement.) |
|
UpdateLayout | Ensures that all positions of child objects of a UIElement are properly updated for layout. (Inherited from UIElement.) |
| Name | Description | |
|---|---|---|
|
ISupportInitialize.BeginInit | Signals the object that initialization is starting. (Inherited from Selector.) |
|
ISupportInitialize.EndInit | Signals the object that initialization is complete. (Inherited from Selector.) |
Show: