This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a control that creates a container that has a border and a header for user interface (UI) content.
public ref class GroupBox : System::Windows::Controls::HeaderedContentControl
[System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)]public class GroupBox : System.Windows.Controls.HeaderedContentControl
[<System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)>]type GroupBox = class inherit HeaderedContentControl
Public Class GroupBoxInherits HeaderedContentControl
The following example defines aGroupBox control that is titledEmployee Data. The control encloses aTabControl and aButton in aStackPanel. The example sets theHeader property to aLabel.
<GroupBox Width="300" Height="410"> <GroupBox.Header> <Label>Employee Data</Label> </GroupBox.Header> <StackPanel> <TabControl Name="myTabControl" TabStripPlacement="Top" Margin="0, 0, 0, 10" Height="350" > <TabItem Name="PersonalInfo"> <TabItem.Header>_Personal Info</TabItem.Header> <StackPanel> <TextBlock>Employee</TextBlock> <TextBlock>Select your name</TextBlock> <ListBox Name="empName" SelectionChanged="updateSummary"> <ListBoxItem IsSelected="true">Esther</ListBoxItem> <ListBoxItem>George</ListBoxItem> <ListBoxItem>Alan</ListBoxItem> <ListBoxItem>Eric</ListBoxItem> </ListBox> </StackPanel> </TabItem> <TabItem> <TabItem.Header>_Job Info</TabItem.Header> <StackPanel> <TextBlock>Select a job</TextBlock> <ListBox Name ="job" SelectionChanged="updateSummary"> <ListBoxItem IsSelected="true">Programmer</ListBoxItem> <ListBoxItem>Tester</ListBoxItem> <ListBoxItem>Writer</ListBoxItem> <ListBoxItem>Manager</ListBoxItem> </ListBox> </StackPanel> </TabItem> <TabItem Name="Skill"> <TabItem.Header>_Skill</TabItem.Header> <StackPanel> <TextBlock> Select your strongest skill </TextBlock> <ListBox Name="skills" SelectionChanged="updateSummary"> <ListBoxItem IsSelected="true">C#</ListBoxItem> <ListBoxItem>Visual Basic</ListBoxItem> <ListBoxItem>.NET</ListBoxItem> <ListBoxItem>JScript</ListBoxItem> </ListBox> </StackPanel> </TabItem> <TabItem Name="Summary" > <TabItem.Header>Su_mmary</TabItem.Header> <StackPanel> <TextBlock Name="emp"/> <TextBlock Name="ejob"/> <TextBlock Name="eskill"/> </StackPanel> </TabItem> </TabControl> <Button Content="Show Summary" Click="goToSummaryTab"/> </StackPanel></GroupBox>
You must also define an event handler on a code-behind page in order to handle theClick event that occurs when a user clicks theShow Summary button.
GroupBox is aHeaderedContentControl, which means itsContent andHeader properties can be of any type (such as string, image, or panel). For more information, see theHeaderedContentControl class.
The following illustration is an example of aGroupBox that contains aTabControl and aButton that are enclosed in aStackPanel.
To apply the same property settings to multipleGroupBox controls, use theStyle property. You can modify the defaultControlTemplate to give the control a unique appearance. For more information about creating aControlTemplate, seeHow to create a template for a control. To see the parts and states that are specific to theGroupBox, seeGroupBox Styles and Templates.
Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running.
Note
Setting a visual property only has an effect if that property is both present in the control's default template and set by using aTemplateBinding.
GroupBox() | Initializes a new instance of theGroupBox class. |
ActualHeight | Gets the rendered height of this element. (Inherited fromFrameworkElement) |
ActualWidth | Gets the rendered width of this element. (Inherited fromFrameworkElement) |
AllowDrop | Gets or sets a value indicating whether this element can be used as the target of a drag-and-drop operation. This is a dependency property. (Inherited fromUIElement) |
AreAnyTouchesCaptured | Gets a value that indicates whether at least one touch is captured to this element. (Inherited fromUIElement) |
AreAnyTouchesCapturedWithin | Gets a value that indicates whether at least one touch is captured to this element or to any child elements in its visual tree. (Inherited fromUIElement) |
AreAnyTouchesDirectlyOver | Gets a value that indicates whether at least one touch is pressed over this element. (Inherited fromUIElement) |
AreAnyTouchesOver | Gets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree. (Inherited fromUIElement) |
Background | Gets or sets a brush that describes the background of a control. (Inherited fromControl) |
BindingGroup | Gets or sets theBindingGroup that is used for the element. (Inherited fromFrameworkElement) |
BitmapEffect | Obsolete. Obsolete. Gets or sets a bitmap effect that applies directly to the rendered content for this element. This is a dependency property. (Inherited fromUIElement) |
BitmapEffectInput | Obsolete. Obsolete. Gets or sets an input source for the bitmap effect that applies directly to the rendered content for this element. This is a dependency property. (Inherited fromUIElement) |
BorderBrush | Gets or sets a brush that describes the border background of a control. (Inherited fromControl) |
BorderThickness | Gets or sets the border thickness of a control. (Inherited fromControl) |
CacheMode | Gets or sets a cached representation of theUIElement. (Inherited fromUIElement) |
Clip | Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property. (Inherited fromUIElement) |
ClipToBounds | Gets or sets a value indicating whether to clip the content of this element (or content coming from the child elements of this element) to fit into the size of the containing element. This is a dependency property. (Inherited fromUIElement) |
CommandBindings | Gets a collection ofCommandBinding objects associated with this element. ACommandBinding enables command handling for this element, and declares the linkage between a command, its events, and the handlers attached by this element. (Inherited fromUIElement) |
Content | Gets or sets the content of aContentControl. (Inherited fromContentControl) |
ContentStringFormat | Gets or sets a composite string that specifies how to format theContent property if it is displayed as a string. (Inherited fromContentControl) |
ContentTemplate | Gets or sets the data template used to display the content of theContentControl. (Inherited fromContentControl) |
ContentTemplateSelector | Gets or sets a template selector that enables an application writer to provide custom template-selection logic. (Inherited fromContentControl) |
ContextMenu | Gets or sets the context menu element that should appear whenever the context menu is requested through user interface (UI) from within this element. (Inherited fromFrameworkElement) |
Cursor | Gets or sets the cursor that displays when the mouse pointer is over this element. (Inherited fromFrameworkElement) |
DataContext | Gets or sets the data context for an element when it participates in data binding. (Inherited fromFrameworkElement) |
DefaultStyleKey | Gets or sets the key to use to reference the style for this control, when theme styles are used or defined. (Inherited fromFrameworkElement) |
DependencyObjectType | Gets theDependencyObjectType that wraps the CLR type of this instance. (Inherited fromDependencyObject) |
DesiredSize | Gets the size that this element computed during the measure pass of the layout process. (Inherited fromUIElement) |
Dispatcher | Gets theDispatcher thisDispatcherObject is associated with. (Inherited fromDispatcherObject) |
Effect | Gets or sets the bitmap effect to apply to theUIElement. This is a dependency property. (Inherited fromUIElement) |
FlowDirection | Gets or sets the direction that text and other user interface (UI) elements flow within any parent element that controls their layout. (Inherited fromFrameworkElement) |
Focusable | Gets or sets a value that indicates whether the element can receive focus. This is a dependency property. (Inherited fromUIElement) |
FocusVisualStyle | Gets or sets a property that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus. (Inherited fromFrameworkElement) |
FontFamily | Gets or sets the font family of the control. (Inherited fromControl) |
FontSize | Gets or sets the font size. (Inherited fromControl) |
FontStretch | Gets or sets the degree to which a font is condensed or expanded on the screen. (Inherited fromControl) |
FontStyle | Gets or sets the font style. (Inherited fromControl) |
FontWeight | Gets or sets the weight or thickness of the specified font. (Inherited fromControl) |
ForceCursor | Gets or sets a value that indicates whether thisFrameworkElement should force the user interface (UI) to render the cursor as declared by theCursor property. (Inherited fromFrameworkElement) |
Foreground | Gets or sets a brush that describes the foreground color. (Inherited fromControl) |
HandlesScrolling | Gets a value that indicates whether a control supports scrolling. (Inherited fromControl) |
HasAnimatedProperties | Gets a value indicating whether this element has any animated properties. (Inherited fromUIElement) |
HasContent | Gets a value that indicates whether theContentControl contains content. (Inherited fromContentControl) |
HasEffectiveKeyboardFocus | Gets a value that indicates whether theUIElement has focus. (Inherited fromUIElement) |
HasHeader | Gets a value that indicates whether the header is |
Header | Gets or sets the data used for the header of each control. (Inherited fromHeaderedContentControl) |
HeaderStringFormat | Gets or sets a composite string that specifies how to format theHeader property if it is displayed as a string. (Inherited fromHeaderedContentControl) |
HeaderTemplate | Gets or sets the template used to display the content of the control's header. (Inherited fromHeaderedContentControl) |
HeaderTemplateSelector | Gets or sets a data template selector that provides custom logic for choosing the template used to display the header. (Inherited fromHeaderedContentControl) |
Height | Gets or sets the suggested height of the element. (Inherited fromFrameworkElement) |
HorizontalAlignment | Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control. (Inherited fromFrameworkElement) |
HorizontalContentAlignment | Gets or sets the horizontal alignment of the control's content. (Inherited fromControl) |
InheritanceBehavior | Gets or sets the scope limits for property value inheritance, resource key lookup, and RelativeSource FindAncestor lookup. (Inherited fromFrameworkElement) |
InputBindings | Gets the collection of input bindings associated with this element. (Inherited fromUIElement) |
InputScope | Gets or sets the context for input used by thisFrameworkElement. (Inherited fromFrameworkElement) |
IsArrangeValid | Gets a value indicating whether the computed size and position of child elements in this element's layout are valid. (Inherited fromUIElement) |
IsEnabled | Gets or sets a value indicating whether this element is enabled in the user interface (UI). This is a dependency property. (Inherited fromUIElement) |
IsEnabledCore | Gets a value that becomes the return value ofIsEnabled in derived classes. (Inherited fromUIElement) |
IsFocused | Gets a value that determines whether this element has logical focus. This is a dependency property. (Inherited fromUIElement) |
IsHitTestVisible | Gets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. This is a dependency property. (Inherited fromUIElement) |
IsInitialized | Gets a value that indicates whether this element has been initialized, either during processing by a XAML processor, or by explicitly having itsEndInit() method called. (Inherited fromFrameworkElement) |
IsInputMethodEnabled | Gets a value indicating whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element. (Inherited fromUIElement) |
IsKeyboardFocused | Gets a value indicating whether this element has keyboard focus. This is a dependency property. (Inherited fromUIElement) |
IsKeyboardFocusWithin | Gets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements. This is a dependency property. (Inherited fromUIElement) |
IsLoaded | Gets a value that indicates whether this element has been loaded for presentation. (Inherited fromFrameworkElement) |
IsManipulationEnabled | Gets or sets a value that indicates whether manipulation events are enabled on thisUIElement. (Inherited fromUIElement) |
IsMeasureValid | Gets a value indicating whether the current size returned by layout measure is valid. (Inherited fromUIElement) |
IsMouseCaptured | Gets a value indicating whether the mouse is captured to this element. This is a dependency property. (Inherited fromUIElement) |
IsMouseCaptureWithin | Gets a value that determines whether mouse capture is held by this element or by child elements in its visual tree. This is a dependency property. (Inherited fromUIElement) |
IsMouseDirectlyOver | Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. This is a dependency property. (Inherited fromUIElement) |
IsMouseOver | Gets a value indicating whether the mouse pointer is located over this element (including child elements in the visual tree). This is a dependency property. (Inherited fromUIElement) |
IsSealed | Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited fromDependencyObject) |
IsStylusCaptured | Gets a value indicating whether the stylus is captured by this element. This is a dependency property. (Inherited fromUIElement) |
IsStylusCaptureWithin | Gets a value that determines whether stylus capture is held by this element, or an element within the element bounds and its visual tree. This is a dependency property. (Inherited fromUIElement) |
IsStylusDirectlyOver | Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. This is a dependency property. (Inherited fromUIElement) |
IsStylusOver | Gets a value indicating whether the stylus cursor is located over this element (including visual child elements). This is a dependency property. (Inherited fromUIElement) |
IsTabStop | Gets or sets a value that indicates whether a control is included in tab navigation. (Inherited fromControl) |
IsVisible | Gets a value indicating whether this element is visible in the user interface (UI). This is a dependency property. (Inherited fromUIElement) |
Language | Gets or sets localization/globalization language information that applies to an element. (Inherited fromFrameworkElement) |
LayoutTransform | Gets or sets a graphics transformation that should apply to this element when layout is performed. (Inherited fromFrameworkElement) |
LogicalChildren | Gets an enumerator to the logical child elements of theControlTemplate. (Inherited fromHeaderedContentControl) |
Margin | Gets or sets the outer margin of an element. (Inherited fromFrameworkElement) |
MaxHeight | Gets or sets the maximum height constraint of the element. (Inherited fromFrameworkElement) |
MaxWidth | Gets or sets the maximum width constraint of the element. (Inherited fromFrameworkElement) |
MinHeight | Gets or sets the minimum height constraint of the element. (Inherited fromFrameworkElement) |
MinWidth | Gets or sets the minimum width constraint of the element. (Inherited fromFrameworkElement) |
Name | Gets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor. (Inherited fromFrameworkElement) |
Opacity | Gets or sets the opacity factor applied to the entireUIElement when it is rendered in the user interface (UI). This is a dependency property. (Inherited fromUIElement) |
OpacityMask | Gets or sets an opacity mask, as aBrush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property. (Inherited fromUIElement) |
OverridesDefaultStyle | Gets or sets a value that indicates whether this element incorporates style properties from theme styles. (Inherited fromFrameworkElement) |
Padding | Gets or sets the padding inside a control. (Inherited fromControl) |
Parent | Gets the logical parent element of this element. (Inherited fromFrameworkElement) |
PersistId | Obsolete. Gets a value that uniquely identifies this element. (Inherited fromUIElement) |
RenderSize | Gets (or sets) the final render size of this element. (Inherited fromUIElement) |
RenderTransform | Gets or sets transform information that affects the rendering position of this element. This is a dependency property. (Inherited fromUIElement) |
RenderTransformOrigin | Gets or sets the center point of any possible render transform declared byRenderTransform, relative to the bounds of the element. This is a dependency property. (Inherited fromUIElement) |
Resources | Gets or sets the locally-defined resource dictionary. (Inherited fromFrameworkElement) |
SnapsToDevicePixels | Gets or sets a value that determines whether rendering for this element should use device-specific pixel settings during rendering. This is a dependency property. (Inherited fromUIElement) |
Style | Gets or sets the style used by this element when it is rendered. (Inherited fromFrameworkElement) |
StylusPlugIns | Gets a collection of all stylus plug-in (customization) objects associated with this element. (Inherited fromUIElement) |
TabIndex | Gets or sets a value that determines the order in which elements receive focus when the user navigates through controls by using the TAB key. (Inherited fromControl) |
Tag | Gets or sets an arbitrary object value that can be used to store custom information about this element. (Inherited fromFrameworkElement) |
Template | Gets or sets a control template. (Inherited fromControl) |
TemplatedParent | Gets a reference to the template parent of this element. This property is not relevant if the element was not created through a template. (Inherited fromFrameworkElement) |
ToolTip | Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). (Inherited fromFrameworkElement) |
TouchesCaptured | Gets all touch devices that are captured to this element. (Inherited fromUIElement) |
TouchesCapturedWithin | Gets all touch devices that are captured to this element or any child elements in its visual tree. (Inherited fromUIElement) |
TouchesDirectlyOver | Gets all touch devices that are over this element. (Inherited fromUIElement) |
TouchesOver | Gets all touch devices that are over this element or any child elements in its visual tree. (Inherited fromUIElement) |
Triggers | Gets the collection of triggers established directly on this element, or in child elements. (Inherited fromFrameworkElement) |
Uid | Gets or sets the unique identifier (for localization) for this element. This is a dependency property. (Inherited fromUIElement) |
UseLayoutRounding | Gets or sets a value that indicates whether layout rounding should be applied to this element's size and position during layout. (Inherited fromFrameworkElement) |
VerticalAlignment | Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control. (Inherited fromFrameworkElement) |
VerticalContentAlignment | Gets or sets the vertical alignment of the control's content. (Inherited fromControl) |
Visibility | Gets or sets the user interface (UI) visibility of this element. This is a dependency property. (Inherited fromUIElement) |
VisualBitmapEffect | Obsolete. Obsolete. Gets or sets theBitmapEffect value for theVisual. (Inherited fromVisual) |
VisualBitmapEffectInput | Obsolete. Obsolete. Gets or sets theBitmapEffectInput value for theVisual. (Inherited fromVisual) |
VisualBitmapScalingMode | Gets or sets theBitmapScalingMode for theVisual. (Inherited fromVisual) |
VisualCacheMode | Gets or sets a cached representation of theVisual. (Inherited fromVisual) |
VisualChildrenCount | Gets the number of visual child elements within this element. (Inherited fromFrameworkElement) |
VisualClearTypeHint | Gets or sets theClearTypeHint that determines how ClearType is rendered in theVisual. (Inherited fromVisual) |
VisualClip | Gets or sets the clip region of theVisual as aGeometry value. (Inherited fromVisual) |
VisualEdgeMode | Gets or sets the edge mode of theVisual as anEdgeMode value. (Inherited fromVisual) |
VisualEffect | Gets or sets the bitmap effect to apply to theVisual. (Inherited fromVisual) |
VisualOffset | Gets or sets the offset value of the visual object. (Inherited fromVisual) |
VisualOpacity | Gets or sets the opacity of theVisual. (Inherited fromVisual) |
VisualOpacityMask | Gets or sets theBrush value that represents the opacity mask of theVisual. (Inherited fromVisual) |
VisualParent | Gets the visual tree parent of the visual object. (Inherited fromVisual) |
VisualScrollableAreaClip | Gets or sets a clipped scrollable area for theVisual. (Inherited fromVisual) |
VisualTextHintingMode | Gets or sets theTextHintingMode of theVisual. (Inherited fromVisual) |
VisualTextRenderingMode | Gets or sets theTextRenderingMode of theVisual. (Inherited fromVisual) |
VisualTransform | Gets or sets theTransform value for theVisual. (Inherited fromVisual) |
VisualXSnappingGuidelines | Gets or sets the x-coordinate (vertical) guideline collection. (Inherited fromVisual) |
VisualYSnappingGuidelines | Gets or sets the y-coordinate (horizontal) guideline collection. (Inherited fromVisual) |
Width | Gets or sets the width of the element. (Inherited fromFrameworkElement) |
AddChild(Object) | Adds a specified object as the child of aContentControl. (Inherited fromContentControl) |
AddHandler(RoutedEvent, Delegate, Boolean) | Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify |
AddHandler(RoutedEvent, Delegate) | Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. (Inherited fromUIElement) |
AddLogicalChild(Object) | Adds the provided object to the logical tree of this element. (Inherited fromFrameworkElement) |
AddText(String) | Adds a specified text string to aContentControl. (Inherited fromContentControl) |
AddToEventRoute(EventRoute, RoutedEventArgs) | Adds handlers to the specifiedEventRoute for the currentUIElement event handler collection. (Inherited fromUIElement) |
AddVisualChild(Visual) | Defines the parent-child relationship between two visuals. (Inherited fromVisual) |
ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) | Applies an animation to a specified dependency property on this element, with the ability to specify what happens if the property already has a running animation. (Inherited fromUIElement) |
ApplyAnimationClock(DependencyProperty, AnimationClock) | Applies an animation to a specified dependency property on this element. Any existing animations are stopped and replaced with the new animation. (Inherited fromUIElement) |
ApplyTemplate() | Builds the current template's visual tree if necessary, and returns a value that indicates whether the visual tree was rebuilt by this call. (Inherited fromFrameworkElement) |
Arrange(Rect) | Positions child elements and determines a size for aUIElement. Parent elements call this method from theirArrangeCore(Rect) implementation (or a WPF framework-level equivalent) to form a recursive layout update. This method constitutes the second pass of a layout update. (Inherited fromUIElement) |
ArrangeCore(Rect) | ImplementsArrangeCore(Rect) (defined as virtual inUIElement) and seals the implementation. (Inherited fromFrameworkElement) |
ArrangeOverride(Size) | Called to arrange and size the content of aControl object. (Inherited fromControl) |
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) | Starts a specific animation for a specified animated property on this element, with the option of specifying what happens if the property already has a running animation. (Inherited fromUIElement) |
BeginAnimation(DependencyProperty, AnimationTimeline) | Starts an animation for a specified animated property on this element. (Inherited fromUIElement) |
BeginInit() | Starts the initialization process for this element. (Inherited fromFrameworkElement) |
BeginStoryboard(Storyboard, HandoffBehavior, Boolean) | Begins the sequence of actions contained in the provided storyboard, with specified state for control of the animation after it is started. (Inherited fromFrameworkElement) |
BeginStoryboard(Storyboard, HandoffBehavior) | Begins the sequence of actions contained in the provided storyboard, with options specified for what should happen if the property is already animated. (Inherited fromFrameworkElement) |
BeginStoryboard(Storyboard) | Begins the sequence of actions that are contained in the provided storyboard. (Inherited fromFrameworkElement) |
BringIntoView() | Attempts to bring this element into view, within any scrollable regions it is contained within. (Inherited fromFrameworkElement) |
BringIntoView(Rect) | Attempts to bring the provided region size of this element into view, within any scrollable regions it is contained within. (Inherited fromFrameworkElement) |
CaptureMouse() | Attempts to force capture of the mouse to this element. (Inherited fromUIElement) |
CaptureStylus() | Attempts to force capture of the stylus to this element. (Inherited fromUIElement) |
CaptureTouch(TouchDevice) | Attempts to force capture of a touch to this element. (Inherited fromUIElement) |
CheckAccess() | Determines whether the calling thread has access to thisDispatcherObject. (Inherited fromDispatcherObject) |
ClearValue(DependencyProperty) | Clears the local value of a property. The property to be cleared is specified by aDependencyProperty identifier. (Inherited fromDependencyObject) |
ClearValue(DependencyPropertyKey) | Clears the local value of a read-only property. The property to be cleared is specified by aDependencyPropertyKey. (Inherited fromDependencyObject) |
CoerceValue(DependencyProperty) | Coerces the value of the specified dependency property. This is accomplished by invoking anyCoerceValueCallback function specified in property metadata for the dependency property as it exists on the callingDependencyObject. (Inherited fromDependencyObject) |
EndInit() | Indicates that the initialization process for the element is complete. (Inherited fromFrameworkElement) |
Equals(Object) | Determines whether a providedDependencyObject is equivalent to the currentDependencyObject. (Inherited fromDependencyObject) |
FindCommonVisualAncestor(DependencyObject) | Returns the common ancestor of two visual objects. (Inherited fromVisual) |
FindName(String) | Finds an element that has the provided identifier name. (Inherited fromFrameworkElement) |
FindResource(Object) | Searches for a resource with the specified key, and throws an exception if the requested resource is not found. (Inherited fromFrameworkElement) |
Focus() | Attempts to set focus to this element. (Inherited fromUIElement) |
GetAnimationBaseValue(DependencyProperty) | Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation. (Inherited fromUIElement) |
GetBindingExpression(DependencyProperty) | Returns theBindingExpression that represents the binding on the specified property. (Inherited fromFrameworkElement) |
GetHashCode() | Gets a hash code for thisDependencyObject. (Inherited fromDependencyObject) |
GetLayoutClip(Size) | Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space. (Inherited fromFrameworkElement) |
GetLocalValueEnumerator() | Creates a specialized enumerator for determining which dependency properties have locally set values on thisDependencyObject. (Inherited fromDependencyObject) |
GetTemplateChild(String) | Returns the named element in the visual tree of an instantiatedControlTemplate. (Inherited fromFrameworkElement) |
GetType() | Gets theType of the current instance. (Inherited fromObject) |
GetUIParentCore() | Returns an alternative logical parent for this element if there is no visual parent. (Inherited fromFrameworkElement) |
GetValue(DependencyProperty) | Returns the current effective value of a dependency property on this instance of aDependencyObject. (Inherited fromDependencyObject) |
GetVisualChild(Int32) | OverridesGetVisualChild(Int32), and returns a child at the specified index from a collection of child elements. (Inherited fromFrameworkElement) |
HitTestCore(GeometryHitTestParameters) | ImplementsHitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior (returningGeometryHitTestResult). (Inherited fromUIElement) |
HitTestCore(PointHitTestParameters) | ImplementsHitTestCore(PointHitTestParameters) to supply base element hit testing behavior (returningHitTestResult). (Inherited fromUIElement) |
InputHitTest(Point) | Returns the input element within the current element that is at the specified coordinates, relative to the current element's origin. (Inherited fromUIElement) |
InvalidateArrange() | Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced byUpdateLayout(). (Inherited fromUIElement) |
InvalidateMeasure() | Invalidates the measurement state (layout) for the element. (Inherited fromUIElement) |
InvalidateProperty(DependencyProperty) | Re-evaluates the effective value for the specified dependency property. (Inherited fromDependencyObject) |
InvalidateVisual() | Invalidates the rendering of the element, and forces a complete new layout pass.OnRender(DrawingContext) is called after the layout cycle is completed. (Inherited fromUIElement) |
IsAncestorOf(DependencyObject) | Determines whether the visual object is an ancestor of the descendant visual object. (Inherited fromVisual) |
IsDescendantOf(DependencyObject) | Determines whether the visual object is a descendant of the ancestor visual object. (Inherited fromVisual) |
Measure(Size) | Updates theDesiredSize of aUIElement. Parent elements call this method from their ownMeasureCore(Size) implementations to form a recursive layout update. Calling this method constitutes the first pass (the "Measure" pass) of a layout update. (Inherited fromUIElement) |
MeasureCore(Size) | Implements basic measure-pass layout system behavior forFrameworkElement. (Inherited fromFrameworkElement) |
MeasureOverride(Size) | Called to remeasure a control. (Inherited fromControl) |
MemberwiseClone() | Creates a shallow copy of the currentObject. (Inherited fromObject) |
MoveFocus(TraversalRequest) | Moves the keyboard focus away from this element and to another element in a provided traversal direction. (Inherited fromFrameworkElement) |
OnAccessKey(AccessKeyEventArgs) | |
OnApplyTemplate() | When overridden in a derived class, is invoked whenever application code or internal processes callApplyTemplate(). (Inherited fromFrameworkElement) |
OnChildDesiredSizeChanged(UIElement) | Supports layout behavior when a child element is resized. (Inherited fromUIElement) |
OnContentChanged(Object, Object) | Called when theContent property changes. (Inherited fromContentControl) |
OnContentStringFormatChanged(String, String) | Occurs when theContentStringFormat property changes. (Inherited fromContentControl) |
OnContentTemplateChanged(DataTemplate, DataTemplate) | Called when theContentTemplate property changes. (Inherited fromContentControl) |
OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) | Called when theContentTemplateSelector property changes. (Inherited fromContentControl) |
OnContextMenuClosing(ContextMenuEventArgs) | Invoked whenever an unhandledContextMenuClosing routed event reaches this class in its route. Implement this method to add class handling for this event. (Inherited fromFrameworkElement) |
OnContextMenuOpening(ContextMenuEventArgs) | Invoked whenever an unhandledContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event. (Inherited fromFrameworkElement) |
OnCreateAutomationPeer() | Creates an implementation ofAutomationPeer for theGroupBox control. |
OnDpiChanged(DpiScale, DpiScale) | Called when the DPI at which this View is rendered changes. (Inherited fromVisual) |
OnDragEnter(DragEventArgs) | Invoked when an unhandledDragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnDragLeave(DragEventArgs) | Invoked when an unhandledDragLeave attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnDragOver(DragEventArgs) | Invoked when an unhandledDragOver attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnDrop(DragEventArgs) | Invoked when an unhandledDragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnGiveFeedback(GiveFeedbackEventArgs) | Invoked when an unhandledGiveFeedback attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnGotFocus(RoutedEventArgs) | Invoked whenever an unhandledGotFocus event reaches this element in its route. (Inherited fromFrameworkElement) |
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) | Invoked when an unhandledGotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnGotMouseCapture(MouseEventArgs) | Invoked when an unhandledGotMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnGotStylusCapture(StylusEventArgs) | Invoked when an unhandledGotStylusCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnGotTouchCapture(TouchEventArgs) | Provides class handling for theGotTouchCapture routed event that occurs when a touch is captured to this element. (Inherited fromUIElement) |
OnHeaderChanged(Object, Object) | Called when theHeader property of aHeaderedContentControl changes. (Inherited fromHeaderedContentControl) |
OnHeaderStringFormatChanged(String, String) | Called when theHeaderStringFormat property changes. (Inherited fromHeaderedContentControl) |
OnHeaderTemplateChanged(DataTemplate, DataTemplate) | Called when theHeaderTemplate property changes. (Inherited fromHeaderedContentControl) |
OnHeaderTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) | Called when theHeaderTemplateSelector property changes. (Inherited fromHeaderedContentControl) |
OnInitialized(EventArgs) | Raises theInitialized event. This method is invoked wheneverIsInitialized is set to |
OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs) | Invoked when an unhandledIsKeyboardFocusedChanged event is raised on this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs) | Invoked just before theIsKeyboardFocusWithinChanged event is raised by this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs) | Invoked when an unhandledIsMouseCapturedChanged event is raised on this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs) | Invoked when an unhandledIsMouseCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs) | Invoked when an unhandledIsMouseDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs) | Invoked when an unhandledIsStylusCapturedChanged event is raised on this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs) | Invoked when an unhandledIsStylusCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs) | Invoked when an unhandledIsStylusDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnKeyDown(KeyEventArgs) | Invoked when an unhandledKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnKeyUp(KeyEventArgs) | Invoked when an unhandledKeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnLostFocus(RoutedEventArgs) | Raises theLostFocus routed event by using the event data that is provided. (Inherited fromUIElement) |
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) | Invoked when an unhandledLostKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnLostMouseCapture(MouseEventArgs) | Invoked when an unhandledLostMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnLostStylusCapture(StylusEventArgs) | Invoked when an unhandledLostStylusCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnLostTouchCapture(TouchEventArgs) | Provides class handling for theLostTouchCapture routed event that occurs when this element loses a touch capture. (Inherited fromUIElement) |
OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs) | Called when theManipulationBoundaryFeedback event occurs. (Inherited fromUIElement) |
OnManipulationCompleted(ManipulationCompletedEventArgs) | Called when theManipulationCompleted event occurs. (Inherited fromUIElement) |
OnManipulationDelta(ManipulationDeltaEventArgs) | Called when theManipulationDelta event occurs. (Inherited fromUIElement) |
OnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs) | Called when theManipulationInertiaStarting event occurs. (Inherited fromUIElement) |
OnManipulationStarted(ManipulationStartedEventArgs) | Called when theManipulationStarted event occurs. (Inherited fromUIElement) |
OnManipulationStarting(ManipulationStartingEventArgs) | Provides class handling for theManipulationStarting routed event that occurs when the manipulation processor is first created. (Inherited fromUIElement) |
OnMouseDoubleClick(MouseButtonEventArgs) | Raises theMouseDoubleClick routed event. (Inherited fromControl) |
OnMouseDown(MouseButtonEventArgs) | Invoked when an unhandledMouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnMouseEnter(MouseEventArgs) | Invoked when an unhandledMouseEnter attached event is raised on this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnMouseLeave(MouseEventArgs) | Invoked when an unhandledMouseLeave attached event is raised on this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnMouseLeftButtonDown(MouseButtonEventArgs) | Invoked when an unhandledMouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnMouseLeftButtonUp(MouseButtonEventArgs) | Invoked when an unhandledMouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnMouseMove(MouseEventArgs) | Invoked when an unhandledMouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnMouseRightButtonDown(MouseButtonEventArgs) | Invoked when an unhandledMouseRightButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnMouseRightButtonUp(MouseButtonEventArgs) | Invoked when an unhandledMouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnMouseUp(MouseButtonEventArgs) | Invoked when an unhandledMouseUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnMouseWheel(MouseWheelEventArgs) | Invoked when an unhandledMouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewDragEnter(DragEventArgs) | Invoked when an unhandledPreviewDragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewDragLeave(DragEventArgs) | Invoked when an unhandledPreviewDragLeave attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewDragOver(DragEventArgs) | Invoked when an unhandledPreviewDragOver attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewDrop(DragEventArgs) | Invoked when an unhandledPreviewDrop attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewGiveFeedback(GiveFeedbackEventArgs) | Invoked when an unhandledPreviewGiveFeedback attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs) | Invoked when an unhandledPreviewGotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewKeyDown(KeyEventArgs) | Invoked when an unhandledPreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewKeyUp(KeyEventArgs) | Invoked when an unhandledPreviewKeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs) | Invoked when an unhandledPreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewMouseDoubleClick(MouseButtonEventArgs) | Raises thePreviewMouseDoubleClick routed event. (Inherited fromControl) |
OnPreviewMouseDown(MouseButtonEventArgs) | Invoked when an unhandledPreviewMouseDown attached routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs) | Invoked when an unhandledPreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewMouseLeftButtonUp(MouseButtonEventArgs) | Invoked when an unhandledPreviewMouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewMouseMove(MouseEventArgs) | Invoked when an unhandledPreviewMouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewMouseRightButtonDown(MouseButtonEventArgs) | Invoked when an unhandledPreviewMouseRightButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewMouseRightButtonUp(MouseButtonEventArgs) | Invoked when an unhandledPreviewMouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewMouseUp(MouseButtonEventArgs) | Invoked when an unhandledPreviewMouseUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewMouseWheel(MouseWheelEventArgs) | Invoked when an unhandledPreviewMouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewQueryContinueDrag(QueryContinueDragEventArgs) | Invoked when an unhandledPreviewQueryContinueDrag attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewStylusButtonDown(StylusButtonEventArgs) | Invoked when an unhandledPreviewStylusButtonDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewStylusButtonUp(StylusButtonEventArgs) | Invoked when an unhandledPreviewStylusButtonUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewStylusDown(StylusDownEventArgs) | Invoked when an unhandledPreviewStylusDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewStylusInAirMove(StylusEventArgs) | Invoked when an unhandledPreviewStylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewStylusInRange(StylusEventArgs) | Invoked when an unhandledPreviewStylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewStylusMove(StylusEventArgs) | Invoked when an unhandledPreviewStylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewStylusOutOfRange(StylusEventArgs) | Invoked when an unhandledPreviewStylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs) | Invoked when an unhandledPreviewStylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewStylusUp(StylusEventArgs) | Invoked when an unhandledPreviewStylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewTextInput(TextCompositionEventArgs) | Invoked when an unhandledPreviewTextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnPreviewTouchDown(TouchEventArgs) | Provides class handling for thePreviewTouchDown routed event that occurs when a touch presses this element. (Inherited fromUIElement) |
OnPreviewTouchMove(TouchEventArgs) | Provides class handling for thePreviewTouchMove routed event that occurs when a touch moves while inside this element. (Inherited fromUIElement) |
OnPreviewTouchUp(TouchEventArgs) | Provides class handling for thePreviewTouchUp routed event that occurs when a touch is released inside this element. (Inherited fromUIElement) |
OnPropertyChanged(DependencyPropertyChangedEventArgs) | Invoked whenever the effective value of any dependency property on thisFrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. OverridesOnPropertyChanged(DependencyPropertyChangedEventArgs). (Inherited fromFrameworkElement) |
OnQueryContinueDrag(QueryContinueDragEventArgs) | Invoked when an unhandledQueryContinueDrag attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnQueryCursor(QueryCursorEventArgs) | Invoked when an unhandledQueryCursor attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnRender(DrawingContext) | When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing. (Inherited fromUIElement) |
OnRenderSizeChanged(SizeChangedInfo) | Raises theSizeChanged event, using the specified information as part of the eventual event data. (Inherited fromFrameworkElement) |
OnStyleChanged(Style, Style) | Invoked when the style in use on this element changes, which will invalidate the layout. (Inherited fromFrameworkElement) |
OnStylusButtonDown(StylusButtonEventArgs) | Invoked when an unhandledStylusButtonDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnStylusButtonUp(StylusButtonEventArgs) | Invoked when an unhandledStylusButtonUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnStylusDown(StylusDownEventArgs) | Invoked when an unhandledStylusDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnStylusEnter(StylusEventArgs) | Invoked when an unhandledStylusEnter attached event is raised by this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnStylusInAirMove(StylusEventArgs) | Invoked when an unhandledStylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnStylusInRange(StylusEventArgs) | Invoked when an unhandledStylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnStylusLeave(StylusEventArgs) | Invoked when an unhandledStylusLeave attached event is raised by this element. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnStylusMove(StylusEventArgs) | Invoked when an unhandledStylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnStylusOutOfRange(StylusEventArgs) | Invoked when an unhandledStylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnStylusSystemGesture(StylusSystemGestureEventArgs) | Invoked when an unhandledStylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnStylusUp(StylusEventArgs) | Invoked when an unhandledStylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnTemplateChanged(ControlTemplate, ControlTemplate) | Called whenever the control's template changes. (Inherited fromControl) |
OnTextInput(TextCompositionEventArgs) | Invoked when an unhandledTextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. (Inherited fromUIElement) |
OnToolTipClosing(ToolTipEventArgs) | Invoked whenever an unhandledToolTipClosing routed event reaches this class in its route. Implement this method to add class handling for this event. (Inherited fromFrameworkElement) |
OnToolTipOpening(ToolTipEventArgs) | Invoked whenever theToolTipOpening routed event reaches this class in its route. Implement this method to add class handling for this event. (Inherited fromFrameworkElement) |
OnTouchDown(TouchEventArgs) | Provides class handling for theTouchDown routed event that occurs when a touch presses inside this element. (Inherited fromUIElement) |
OnTouchEnter(TouchEventArgs) | Provides class handling for theTouchEnter routed event that occurs when a touch moves from outside to inside the bounds of this element. (Inherited fromUIElement) |
OnTouchLeave(TouchEventArgs) | Provides class handling for theTouchLeave routed event that occurs when a touch moves from inside to outside the bounds of thisUIElement. (Inherited fromUIElement) |
OnTouchMove(TouchEventArgs) | Provides class handling for theTouchMove routed event that occurs when a touch moves while inside this element. (Inherited fromUIElement) |
OnTouchUp(TouchEventArgs) | Provides class handling for theTouchUp routed event that occurs when a touch is released inside this element. (Inherited fromUIElement) |
OnVisualChildrenChanged(DependencyObject, DependencyObject) | Called when theVisualCollection of the visual object is modified. (Inherited fromVisual) |
OnVisualParentChanged(DependencyObject) | Invoked when the parent of this element in the visual tree is changed. OverridesOnVisualParentChanged(DependencyObject). (Inherited fromFrameworkElement) |
ParentLayoutInvalidated(UIElement) | Supports incremental layout implementations in specialized subclasses ofFrameworkElement.ParentLayoutInvalidated(UIElement) is invoked when a child element has invalidated a property that is marked in metadata as affecting the parent's measure or arrange passes during layout. (Inherited fromFrameworkElement) |
PointFromScreen(Point) | Converts aPoint in screen coordinates into aPoint that represents the current coordinate system of theVisual. (Inherited fromVisual) |
PointToScreen(Point) | Converts aPoint that represents the current coordinate system of theVisual into aPoint in screen coordinates. (Inherited fromVisual) |
PredictFocus(FocusNavigationDirection) | Determines the next element that would receive focus relative to this element for a provided focus movement direction, but does not actually move the focus. (Inherited fromFrameworkElement) |
RaiseEvent(RoutedEventArgs) | Raises a specific routed event. TheRoutedEvent to be raised is identified within theRoutedEventArgs instance that is provided (as theRoutedEvent property of that event data). (Inherited fromUIElement) |
ReadLocalValue(DependencyProperty) | Returns the local value of a dependency property, if it exists. (Inherited fromDependencyObject) |
RegisterName(String, Object) | Provides an accessor that simplifies access to theNameScope registration method. (Inherited fromFrameworkElement) |
ReleaseAllTouchCaptures() | Releases all captured touch devices from this element. (Inherited fromUIElement) |
ReleaseMouseCapture() | Releases the mouse capture, if this element held the capture. (Inherited fromUIElement) |
ReleaseStylusCapture() | Releases the stylus device capture, if this element held the capture. (Inherited fromUIElement) |
ReleaseTouchCapture(TouchDevice) | Attempts to release the specified touch device from this element. (Inherited fromUIElement) |
RemoveHandler(RoutedEvent, Delegate) | Removes the specified routed event handler from this element. (Inherited fromUIElement) |
RemoveLogicalChild(Object) | Removes the provided object from this element's logical tree.FrameworkElement updates the affected logical tree parent pointers to keep in sync with this deletion. (Inherited fromFrameworkElement) |
RemoveVisualChild(Visual) | Removes the parent-child relationship between two visuals. (Inherited fromVisual) |
SetBinding(DependencyProperty, BindingBase) | Attaches a binding to this element, based on the provided binding object. (Inherited fromFrameworkElement) |
SetBinding(DependencyProperty, String) | Attaches a binding to this element, based on the provided source property name as a path qualification to the data source. (Inherited fromFrameworkElement) |
SetCurrentValue(DependencyProperty, Object) | Sets the value of a dependency property without changing its value source. (Inherited fromDependencyObject) |
SetResourceReference(DependencyProperty, Object) | Searches for a resource with the specified name and sets up a resource reference to it for the specified property. (Inherited fromFrameworkElement) |
SetValue(DependencyProperty, Object) | Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited fromDependencyObject) |
SetValue(DependencyPropertyKey, Object) | Sets the local value of a read-only dependency property, specified by theDependencyPropertyKey identifier of the dependency property. (Inherited fromDependencyObject) |
ShouldSerializeCommandBindings() | Returns whether serialization processes should serialize the contents of theCommandBindings property on instances of this class. (Inherited fromUIElement) |
ShouldSerializeContent() | Indicates whether theContent property should be persisted. (Inherited fromContentControl) |
ShouldSerializeInputBindings() | Returns whether serialization processes should serialize the contents of theInputBindings property on instances of this class. (Inherited fromUIElement) |
ShouldSerializeProperty(DependencyProperty) | Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited fromDependencyObject) |
ShouldSerializeResources() | Returns whether serialization processes should serialize the contents of theResources property. (Inherited fromFrameworkElement) |
ShouldSerializeStyle() | Returns whether serialization processes should serialize the contents of theStyle property. (Inherited fromFrameworkElement) |
ShouldSerializeTriggers() | Returns whether serialization processes should serialize the contents of theTriggers property. (Inherited fromFrameworkElement) |
ToString() | Provides a string representation of aHeaderedContentControl. (Inherited fromHeaderedContentControl) |
TransformToAncestor(Visual) | Returns a transform that can be used to transform coordinates from theVisual to the specifiedVisual ancestor of the visual object. (Inherited fromVisual) |
TransformToAncestor(Visual3D) | Returns a transform that can be used to transform coordinates from theVisual to the specifiedVisual3D ancestor of the visual object. (Inherited fromVisual) |
TransformToDescendant(Visual) | Returns a transform that can be used to transform coordinates from theVisual to the specified visual object descendant. (Inherited fromVisual) |
TransformToVisual(Visual) | Returns a transform that can be used to transform coordinates from theVisual to the specified visual object. (Inherited fromVisual) |
TranslatePoint(Point, UIElement) | Translates a point relative to this element to coordinates that are relative to the specified element. (Inherited fromUIElement) |
TryFindResource(Object) | Searches for a resource with the specified key, and returns that resource if found. (Inherited fromFrameworkElement) |
UnregisterName(String) | Simplifies access to theNameScope de-registration method. (Inherited fromFrameworkElement) |
UpdateDefaultStyle() | Reapplies the default style to the currentFrameworkElement. (Inherited fromFrameworkElement) |
UpdateLayout() | Ensures that all visual child elements of this element are properly updated for layout. (Inherited fromUIElement) |
VerifyAccess() | Enforces that the calling thread has access to thisDispatcherObject. (Inherited fromDispatcherObject) |
ContextMenuClosing | Occurs just before any context menu on the element is closed. (Inherited fromFrameworkElement) |
ContextMenuOpening | Occurs when any context menu on the element is opened. (Inherited fromFrameworkElement) |
DataContextChanged | Occurs when the data context for this element changes. (Inherited fromFrameworkElement) |
DragEnter | Occurs when the input system reports an underlying drag event with this element as the drag target. (Inherited fromUIElement) |
DragLeave | Occurs when the input system reports an underlying drag event with this element as the drag origin. (Inherited fromUIElement) |
DragOver | Occurs when the input system reports an underlying drag event with this element as the potential drop target. (Inherited fromUIElement) |
Drop | Occurs when the input system reports an underlying drop event with this element as the drop target. (Inherited fromUIElement) |
FocusableChanged | Occurs when the value of theFocusable property changes. (Inherited fromUIElement) |
GiveFeedback | Occurs when the input system reports an underlying drag-and-drop event that involves this element. (Inherited fromUIElement) |
GotFocus | Occurs when this element gets logical focus. (Inherited fromUIElement) |
GotKeyboardFocus | Occurs when the keyboard is focused on this element. (Inherited fromUIElement) |
GotMouseCapture | Occurs when this element captures the mouse. (Inherited fromUIElement) |
GotStylusCapture | Occurs when this element captures the stylus. (Inherited fromUIElement) |
GotTouchCapture | Occurs when a touch is captured to this element. (Inherited fromUIElement) |
Initialized | Occurs when thisFrameworkElement is initialized. This event coincides with cases where the value of theIsInitialized property changes from |
IsEnabledChanged | Occurs when the value of theIsEnabled property on this element changes. (Inherited fromUIElement) |
IsHitTestVisibleChanged | Occurs when the value of theIsHitTestVisible dependency property changes on this element. (Inherited fromUIElement) |
IsKeyboardFocusedChanged | Occurs when the value of theIsKeyboardFocused property changes on this element. (Inherited fromUIElement) |
IsKeyboardFocusWithinChanged | Occurs when the value of theIsKeyboardFocusWithin property changes on this element. (Inherited fromUIElement) |
IsMouseCapturedChanged | Occurs when the value of theIsMouseCaptured property changes on this element. (Inherited fromUIElement) |
IsMouseCaptureWithinChanged | Occurs when the value of theIsMouseCaptureWithinProperty changes on this element. (Inherited fromUIElement) |
IsMouseDirectlyOverChanged | Occurs when the value of theIsMouseDirectlyOver property changes on this element. (Inherited fromUIElement) |
IsStylusCapturedChanged | Occurs when the value of theIsStylusCaptured property changes on this element. (Inherited fromUIElement) |
IsStylusCaptureWithinChanged | Occurs when the value of theIsStylusCaptureWithin property changes on this element. (Inherited fromUIElement) |
IsStylusDirectlyOverChanged | Occurs when the value of theIsStylusDirectlyOver property changes on this element. (Inherited fromUIElement) |
IsVisibleChanged | Occurs when the value of theIsVisible property changes on this element. (Inherited fromUIElement) |
KeyDown | Occurs when a key is pressed while focus is on this element. (Inherited fromUIElement) |
KeyUp | Occurs when a key is released while focus is on this element. (Inherited fromUIElement) |
LayoutUpdated | Occurs when the layout of the various visual elements associated with the currentDispatcher changes. (Inherited fromUIElement) |
Loaded | Occurs when the element is laid out, rendered, and ready for interaction. (Inherited fromFrameworkElement) |
LostFocus | Occurs when this element loses logical focus. (Inherited fromUIElement) |
LostKeyboardFocus | Occurs when the keyboard is no longer focused on this element. (Inherited fromUIElement) |
LostMouseCapture | Occurs when this element loses mouse capture. (Inherited fromUIElement) |
LostStylusCapture | Occurs when this element loses stylus capture. (Inherited fromUIElement) |
LostTouchCapture | Occurs when this element loses a touch capture. (Inherited fromUIElement) |
ManipulationBoundaryFeedback | Occurs when the manipulation encounters a boundary. (Inherited fromUIElement) |
ManipulationCompleted | Occurs when a manipulation and inertia on theUIElement object is complete. (Inherited fromUIElement) |
ManipulationDelta | Occurs when the input device changes position during a manipulation. (Inherited fromUIElement) |
ManipulationInertiaStarting | Occurs when the input device loses contact with theUIElement object during a manipulation and inertia begins. (Inherited fromUIElement) |
ManipulationStarted | Occurs when an input device begins a manipulation on theUIElement object. (Inherited fromUIElement) |
ManipulationStarting | Occurs when the manipulation processor is first created. (Inherited fromUIElement) |
MouseDoubleClick | Occurs when a mouse button is clicked two or more times. (Inherited fromControl) |
MouseDown | Occurs when any mouse button is pressed while the pointer is over this element. (Inherited fromUIElement) |
MouseEnter | Occurs when the mouse pointer enters the bounds of this element. (Inherited fromUIElement) |
MouseLeave | Occurs when the mouse pointer leaves the bounds of this element. (Inherited fromUIElement) |
MouseLeftButtonDown | Occurs when the left mouse button is pressed while the mouse pointer is over this element. (Inherited fromUIElement) |
MouseLeftButtonUp | Occurs when the left mouse button is released while the mouse pointer is over this element. (Inherited fromUIElement) |
MouseMove | Occurs when the mouse pointer moves while over this element. (Inherited fromUIElement) |
MouseRightButtonDown | Occurs when the right mouse button is pressed while the mouse pointer is over this element. (Inherited fromUIElement) |
MouseRightButtonUp | Occurs when the right mouse button is released while the mouse pointer is over this element. (Inherited fromUIElement) |
MouseUp | Occurs when any mouse button is released over this element. (Inherited fromUIElement) |
MouseWheel | Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. (Inherited fromUIElement) |
PreviewDragEnter | Occurs when the input system reports an underlying drag event with this element as the drag target. (Inherited fromUIElement) |
PreviewDragLeave | Occurs when the input system reports an underlying drag event with this element as the drag origin. (Inherited fromUIElement) |
PreviewDragOver | Occurs when the input system reports an underlying drag event with this element as the potential drop target. (Inherited fromUIElement) |
PreviewDrop | Occurs when the input system reports an underlying drop event with this element as the drop target. (Inherited fromUIElement) |
PreviewGiveFeedback | Occurs when a drag-and-drop operation is started. (Inherited fromUIElement) |
PreviewGotKeyboardFocus | Occurs when the keyboard is focused on this element. (Inherited fromUIElement) |
PreviewKeyDown | Occurs when a key is pressed while focus is on this element. (Inherited fromUIElement) |
PreviewKeyUp | Occurs when a key is released while focus is on this element. (Inherited fromUIElement) |
PreviewLostKeyboardFocus | Occurs when the keyboard is no longer focused on this element. (Inherited fromUIElement) |
PreviewMouseDoubleClick | Occurs when a user clicks the mouse button two or more times. (Inherited fromControl) |
PreviewMouseDown | Occurs when any mouse button is pressed while the pointer is over this element. (Inherited fromUIElement) |
PreviewMouseLeftButtonDown | Occurs when the left mouse button is pressed while the mouse pointer is over this element. (Inherited fromUIElement) |
PreviewMouseLeftButtonUp | Occurs when the left mouse button is released while the mouse pointer is over this element. (Inherited fromUIElement) |
PreviewMouseMove | Occurs when the mouse pointer moves while the mouse pointer is over this element. (Inherited fromUIElement) |
PreviewMouseRightButtonDown | Occurs when the right mouse button is pressed while the mouse pointer is over this element. (Inherited fromUIElement) |
PreviewMouseRightButtonUp | Occurs when the right mouse button is released while the mouse pointer is over this element. (Inherited fromUIElement) |
PreviewMouseUp | Occurs when any mouse button is released while the mouse pointer is over this element. (Inherited fromUIElement) |
PreviewMouseWheel | Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. (Inherited fromUIElement) |
PreviewQueryContinueDrag | Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. (Inherited fromUIElement) |
PreviewStylusButtonDown | Occurs when the stylus button is pressed while the pointer is over this element. (Inherited fromUIElement) |
PreviewStylusButtonUp | Occurs when the stylus button is released while the pointer is over this element. (Inherited fromUIElement) |
PreviewStylusDown | Occurs when the stylus touches the digitizer while it is over this element. (Inherited fromUIElement) |
PreviewStylusInAirMove | Occurs when the stylus moves over an element without actually touching the digitizer. (Inherited fromUIElement) |
PreviewStylusInRange | Occurs when the stylus is close enough to the digitizer to be detected, while over this element. (Inherited fromUIElement) |
PreviewStylusMove | Occurs when the stylus moves while over the element. The stylus must move while being detected by the digitizer to raise this event, otherwise,PreviewStylusInAirMove is raised instead. (Inherited fromUIElement) |
PreviewStylusOutOfRange | Occurs when the stylus is too far from the digitizer to be detected. (Inherited fromUIElement) |
PreviewStylusSystemGesture | Occurs when a user performs one of several stylus gestures. (Inherited fromUIElement) |
PreviewStylusUp | Occurs when the user raises the stylus off the digitizer while the stylus is over this element. (Inherited fromUIElement) |
PreviewTextInput | Occurs when this element gets text in a device-independent manner. (Inherited fromUIElement) |
PreviewTouchDown | Occurs when a finger touches the screen while the finger is over this element. (Inherited fromUIElement) |
PreviewTouchMove | Occurs when a finger moves on the screen while the finger is over this element. (Inherited fromUIElement) |
PreviewTouchUp | Occurs when a finger is raised off of the screen while the finger is over this element. (Inherited fromUIElement) |
QueryContinueDrag | Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. (Inherited fromUIElement) |
QueryCursor | Occurs when the cursor is requested to display. This event is raised on an element each time that the mouse pointer moves to a new location, which means the cursor object might need to be changed based on its new position. (Inherited fromUIElement) |
RequestBringIntoView | Occurs whenBringIntoView(Rect) is called on this element. (Inherited fromFrameworkElement) |
SizeChanged | Occurs when either theActualHeight or theActualWidth properties change value on this element. (Inherited fromFrameworkElement) |
SourceUpdated | Occurs when the source value changes for any existing property binding on this element. (Inherited fromFrameworkElement) |
StylusButtonDown | Occurs when the stylus button is pressed while the pointer is over this element. (Inherited fromUIElement) |
StylusButtonUp | Occurs when the stylus button is released while the pointer is over this element. (Inherited fromUIElement) |
StylusDown | Occurs when the stylus touches the digitizer while the stylus is over this element. (Inherited fromUIElement) |
StylusEnter | Occurs when the stylus enters the bounds of this element. (Inherited fromUIElement) |
StylusInAirMove | Occurs when the stylus moves over an element without actually touching the digitizer. (Inherited fromUIElement) |
StylusInRange | Occurs when the stylus is close enough to the digitizer to be detected, while over this element. (Inherited fromUIElement) |
StylusLeave | Occurs when the stylus leaves the bounds of the element. (Inherited fromUIElement) |
StylusMove | Occurs when the stylus moves over this element. The stylus must move while on the digitizer to raise this event. Otherwise,StylusInAirMove is raised instead. (Inherited fromUIElement) |
StylusOutOfRange | Occurs when the stylus is too far from the digitizer to be detected, while over this element. (Inherited fromUIElement) |
StylusSystemGesture | Occurs when a user performs one of several stylus gestures. (Inherited fromUIElement) |
StylusUp | Occurs when the user raises the stylus off the digitizer while it is over this element. (Inherited fromUIElement) |
TargetUpdated | Occurs when the target value changes for any property binding on this element. (Inherited fromFrameworkElement) |
TextInput | Occurs when this element gets text in a device-independent manner. (Inherited fromUIElement) |
ToolTipClosing | Occurs just before any tooltip on the element is closed. (Inherited fromFrameworkElement) |
ToolTipOpening | Occurs when any tooltip on the element is opened. (Inherited fromFrameworkElement) |
TouchDown | Occurs when a finger touches the screen while the finger is over this element. (Inherited fromUIElement) |
TouchEnter | Occurs when a touch moves from outside to inside the bounds of this element. (Inherited fromUIElement) |
TouchLeave | Occurs when a touch moves from inside to outside the bounds of this element. (Inherited fromUIElement) |
TouchMove | Occurs when a finger moves on the screen while the finger is over this element. (Inherited fromUIElement) |
TouchUp | Occurs when a finger is raised off of the screen while the finger is over this element. (Inherited fromUIElement) |
Unloaded | Occurs when the element is removed from within an element tree of loaded elements. (Inherited fromFrameworkElement) |
IAddChild.AddChild(Object) | This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Inherited fromContentControl) |
IAddChild.AddText(String) | This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Inherited fromContentControl) |
IQueryAmbient.IsAmbientPropertyAvailable(String) | For a description of this member, see theIsAmbientPropertyAvailable(String) method. (Inherited fromFrameworkElement) |
Was this page helpful?
Was this page helpful?