Export (0) Print
Expand All

TabControl Properties

The TabControl type exposes the following members.

  Name Description
Public property ActualHeight Gets the rendered height of this element. (Inherited from FrameworkElement.)
Public property ActualWidth Gets the rendered width of this element. (Inherited from FrameworkElement.)
Public property 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 from UIElement.)
Public property AlternationCount Gets or sets the number of alternating item containers in the ItemsControl, which enables alternating containers to have a unique appearance. (Inherited from ItemsControl.)
Public property AreAnyTouchesCaptured Gets a value that indicates whether at least one touch is captured to this element. (Inherited from UIElement.)
Public property 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 from UIElement.)
Public property AreAnyTouchesDirectlyOver Gets a value that indicates whether at least one touch is pressed over this element. (Inherited from UIElement.)
Public property 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 from UIElement.)
Public property Background Gets or sets a brush that describes the background of a control. (Inherited from Control.)
Public property BindingGroup Gets or sets the BindingGroup that is used for the element. (Inherited from FrameworkElement.)
Public property BitmapEffect Obsolete. Gets or sets a bitmap effect that applies directly to the rendered content for this element. This is a dependency property. (Inherited from UIElement.)
Public property BitmapEffectInput 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 from UIElement.)
Public property BorderBrush Gets or sets a brush that describes the border background of a control. (Inherited from Control.)
Public property BorderThickness Gets or sets the border thickness of a control. (Inherited from Control.)
Public property CacheMode Gets or sets a cached representation of the UIElement. (Inherited from UIElement.)
Public property Clip Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property. (Inherited from UIElement.)
Public property 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 from UIElement.)
Public property CommandBindings Gets a collection of CommandBinding objects associated with this element. A CommandBinding enables command handling for this element, and declares the linkage between a command, its events, and the handlers attached by this element. (Inherited from UIElement.)
Public property ContentStringFormat Gets a composite string that specifies how to format the contents of the TabItem objects if they are displayed as strings.
Public property ContentTemplate Gets or sets the DataTemplate to apply to any TabItem that does not have a ContentTemplate or ContentTemplateSelector property defined.
Public property ContentTemplateSelector Gets or sets a DataTemplateSelector that provides custom logic for choosing the template that is used to display the content of the control.
Public property 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 from FrameworkElement.)
Public property Cursor Gets or sets the cursor that displays when the mouse pointer is over this element. (Inherited from FrameworkElement.)
Public property DataContext Gets or sets the data context for an element when it participates in data binding. (Inherited from FrameworkElement.)
Protected property DefaultStyleKey Gets or sets the key to use to reference the style for this control, when theme styles are used or defined. (Inherited from FrameworkElement.)
Public property DependencyObjectType Gets the DependencyObjectType that wraps the CLR type of this instance.  (Inherited from DependencyObject.)
Public property DesiredSize Gets the size that this element computed during the measure pass of the layout process. (Inherited from UIElement.)
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public property DisplayMemberPath Gets or sets a path to a value on the source object to serve as the visual representation of the object. (Inherited from ItemsControl.)
Public property Effect Gets or sets the bitmap effect to apply to the UIElement. This is a dependency property. (Inherited from UIElement.)
Public property FlowDirection Gets or sets the direction that text and other user interface (UI) elements flow within any parent element that controls their layout. (Inherited from FrameworkElement.)
Public property Focusable Gets or sets a value that indicates whether the element can receive focus. This is a dependency property. (Inherited from UIElement.)
Public property 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 from FrameworkElement.)
Public property FontFamily Gets or sets the font family of the control. (Inherited from Control.)
Public property FontSize Gets or sets the font size. (Inherited from Control.)
Public property FontStretch Gets or sets the degree to which a font is condensed or expanded on the screen. (Inherited from Control.)
Public property FontStyle Gets or sets the font style. (Inherited from Control.)
Public property FontWeight Gets or sets the weight or thickness of the specified font. (Inherited from Control.)
Public property ForceCursor Gets or sets a value that indicates whether this FrameworkElement should force the user interface (UI) to render the cursor as declared by the Cursor property. (Inherited from FrameworkElement.)
Public property Foreground Gets or sets a brush that describes the foreground color. (Inherited from Control.)
Public property GroupStyle Gets a collection of GroupStyle objects that define the appearance of each level of groups. (Inherited from ItemsControl.)
Public property GroupStyleSelector Gets or sets a method that enables you to provide custom selection logic for a GroupStyle to apply to each group in a collection. (Inherited from ItemsControl.)
Protected property HandlesScrolling Gets a value that indicates whether a control supports scrolling. (Inherited from Control.)
Public property HasAnimatedProperties Gets a value indicating whether this element has any animated properties. (Inherited from UIElement.)
Protected property HasEffectiveKeyboardFocus Gets a value that indicates whether the UIElement has focus. (Inherited from UIElement.)
Public property HasItems Gets a value that indicates whether the ItemsControl contains items. (Inherited from ItemsControl.)
Public property Height Gets or sets the suggested height of the element. (Inherited from FrameworkElement.)
Public property 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 from FrameworkElement.)
Public property HorizontalContentAlignment Gets or sets the horizontal alignment of the control's content. (Inherited from Control.)
Protected property InheritanceBehavior Gets or sets the scope limits for property value inheritance, resource key lookup, and RelativeSource FindAncestor lookup. (Inherited from FrameworkElement.)
Public property InputBindings Gets the collection of input bindings associated with this element. (Inherited from UIElement.)
Public property InputScope Gets or sets the context for input used by this FrameworkElement. (Inherited from FrameworkElement.)
Public property IsArrangeValid Gets a value indicating whether the computed size and position of child elements in this element's layout are valid. (Inherited from UIElement.)
Public property IsEnabled Gets or sets a value indicating whether this element is enabled in the user interface (UI). This is a dependency property. (Inherited from UIElement.)
Protected property IsEnabledCore Gets a value that becomes the return value of IsEnabled in derived classes. (Inherited from UIElement.)
Public property IsFocused Gets a value that determines whether this element has logical focus. This is a dependency property. (Inherited from UIElement.)
Public property IsGrouping Gets a value that indicates whether the control is using grouping. (Inherited from ItemsControl.)
Public property 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 from UIElement.)
Public property IsInitialized Gets a value that indicates whether this element has been initialized, either during processing by a XAML processor, or by explicitly having its EndInit method called. (Inherited from FrameworkElement.)
Public property 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 from UIElement.)
Public property IsKeyboardFocused Gets a value indicating whether this element has keyboard focus. This is a dependency property. (Inherited from UIElement.)
Public property 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 from UIElement.)
Public property IsLoaded Gets a value that indicates whether this element has been loaded for presentation. (Inherited from FrameworkElement.)
Public property IsManipulationEnabled Gets or sets a value that indicates whether manipulation events are enabled on this UIElement. (Inherited from UIElement.)
Public property IsMeasureValid Gets a value indicating whether the current size returned by layout measure is valid. (Inherited from UIElement.)
Public property IsMouseCaptured Gets a value indicating whether the mouse is captured to this element. This is a dependency property. (Inherited from UIElement.)
Public property 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 from UIElement.)
Public property 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 from UIElement.)
Public property 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 from UIElement.)
Public property IsSealed Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.)
Public property IsStylusCaptured Gets a value indicating whether the stylus is captured by this element. This is a dependency property. (Inherited from UIElement.)
Public property 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 from UIElement.)
Public property 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 from UIElement.)
Public property IsStylusOver Gets a value indicating whether the stylus cursor is located over this element (including visual child elements). This is a dependency property. (Inherited from UIElement.)
Public property IsSynchronizedWithCurrentItem Gets or sets a value that indicates whether a Selector should keep the SelectedItem synchronized with the current item in the Items property. (Inherited from Selector.)
Public property IsTabStop Gets or sets a value that indicates whether a control is included in tab navigation. (Inherited from Control.)
Public property IsTextSearchCaseSensitive Gets or sets a value that indicates whether case is a condition when searching for items. (Inherited from ItemsControl.)
Public property IsTextSearchEnabled Gets or sets a value that indicates whether TextSearch is enabled on the ItemsControl instance. (Inherited from ItemsControl.)
Public property IsVisible Gets a value indicating whether this element is visible in the user interface (UI). This is a dependency property. (Inherited from UIElement.)
Public property ItemBindingGroup Gets or sets the BindingGroup that is copied to each item in the ItemsControl. (Inherited from ItemsControl.)
Public property ItemContainerGenerator Gets the ItemContainerGenerator that is associated with the control. (Inherited from ItemsControl.)
Public property ItemContainerStyle Gets or sets the Style that is applied to the container element generated for each item. (Inherited from ItemsControl.)
Public property ItemContainerStyleSelector Gets or sets custom style-selection logic for a style that can be applied to each generated container element. (Inherited from ItemsControl.)
Public property Items Gets the collection used to generate the content of the ItemsControl. (Inherited from ItemsControl.)
Public property ItemsPanel Gets or sets the template that defines the panel that controls the layout of items. (Inherited from ItemsControl.)
Public property ItemsSource Gets or sets a collection used to generate the content of the ItemsControl. (Inherited from ItemsControl.)
Public property ItemStringFormat Gets or sets a composite string that specifies how to format the items in the ItemsControl if they are displayed as strings. (Inherited from ItemsControl.)
Public property ItemTemplate Gets or sets the DataTemplate used to display each item. (Inherited from ItemsControl.)
Public property ItemTemplateSelector Gets or sets the custom logic for choosing a template used to display each item. (Inherited from ItemsControl.)
Public property Language Gets or sets localization/globalization language information that applies to an element. (Inherited from FrameworkElement.)
Public property LayoutTransform Gets or sets a graphics transformation that should apply to this element when layout is performed. (Inherited from FrameworkElement.)
Protected property LogicalChildren Gets an enumerator for the logical child objects of the ItemsControl object. (Inherited from ItemsControl.)
Public property Margin Gets or sets the outer margin of an element. (Inherited from FrameworkElement.)
Public property MaxHeight Gets or sets the maximum height constraint of the element. (Inherited from FrameworkElement.)
Public property MaxWidth Gets or sets the maximum width constraint of the element. (Inherited from FrameworkElement.)
Public property MinHeight Gets or sets the minimum height constraint of the element. (Inherited from FrameworkElement.)
Public property MinWidth Gets or sets the minimum width constraint of the element. (Inherited from FrameworkElement.)
Public property 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 from FrameworkElement.)
Public property Opacity Gets or sets the opacity factor applied to the entire UIElement when it is rendered in the user interface (UI). This is a dependency property. (Inherited from UIElement.)
Public property OpacityMask Gets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property. (Inherited from UIElement.)
Public property OverridesDefaultStyle Gets or sets a value that indicates whether this element incorporates style properties from theme styles. (Inherited from FrameworkElement.)
Public property Padding Gets or sets the padding inside a control. (Inherited from Control.)
Public property Parent Gets the logical parent element of this element. (Inherited from FrameworkElement.)
Public property PersistId Obsolete. Gets a value that uniquely identifies this element. (Inherited from UIElement.)
Public property RenderSize Gets (or sets, but see Remarks) the final render size of this element. (Inherited from UIElement.)
Public property RenderTransform Gets or sets transform information that affects the rendering position of this element. This is a dependency property. (Inherited from UIElement.)
Public property RenderTransformOrigin Gets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. This is a dependency property. (Inherited from UIElement.)
Public property Resources Gets or sets the locally-defined resource dictionary. (Inherited from FrameworkElement.)
Public property SelectedContent Gets the content of the currently selected TabItem.
Public property SelectedContentStringFormat Gets a composite string that specifies how to format the content of the currently selected TabItem if it is displayed as a string.
Public property SelectedContentTemplate Gets the DataTemplate of the currently selected item.
Public property SelectedContentTemplateSelector Gets the DataTemplateSelector of the currently selected item.
Public property SelectedIndex Gets or sets the index of the first item in the current selection or returns negative one (-1) if the selection is empty. (Inherited from Selector.)
Public property SelectedItem Gets or sets the first item in the current selection or returns null if the selection is empty (Inherited from Selector.)
Public property SelectedValue Gets or sets the value of the SelectedItem, obtained by using SelectedValuePath. (Inherited from Selector.)
Public property SelectedValuePath Gets or sets the path that is used to get the SelectedValue from the SelectedItem. (Inherited from Selector.)
Public property 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 from UIElement.)
Public property Style Gets or sets the style used by this element when it is rendered. (Inherited from FrameworkElement.)
Protected property StylusPlugIns Gets a collection of all stylus plug-in (customization) objects associated with this element. (Inherited from UIElement.)
Public property 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 from Control.)
Public property TabStripPlacement Gets or sets how tab headers align relative to the tab content.
Public property Tag Gets or sets an arbitrary object value that can be used to store custom information about this element. (Inherited from FrameworkElement.)
Public property Template Gets or sets a control template. (Inherited from Control.)
Public property 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 from FrameworkElement.)
Public property ToolTip Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). (Inherited from FrameworkElement.)
Public property TouchesCaptured Gets all touch devices that are captured to this element. (Inherited from UIElement.)
Public property TouchesCapturedWithin Gets all touch devices that are captured to this element or any child elements in its visual tree. (Inherited from UIElement.)
Public property TouchesDirectlyOver Gets all touch devices that are over this element. (Inherited from UIElement.)
Public property TouchesOver Gets all touch devices that are over this element or any child elements in its visual tree. (Inherited from UIElement.)
Public property Triggers Gets the collection of triggers established directly on this element, or in child elements. (Inherited from FrameworkElement.)
Public property Uid Gets or sets the unique identifier (for localization) for this element. This is a dependency property. (Inherited from UIElement.)
Public property UseLayoutRounding Gets or sets a value that indicates whether layout rounding should be applied to this element's size and position during layout. (Inherited from FrameworkElement.)
Public property 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 from FrameworkElement.)
Public property VerticalContentAlignment Gets or sets the vertical alignment of the control's content. (Inherited from Control.)
Public property Visibility Gets or sets the user interface (UI) visibility of this element. This is a dependency property. (Inherited from UIElement.)
Protected property VisualBitmapEffect Obsolete. Gets or sets the BitmapEffect value for the Visual. (Inherited from Visual.)
Protected property VisualBitmapEffectInput Obsolete. Gets or sets the BitmapEffectInput value for the Visual. (Inherited from Visual.)
Protected property VisualBitmapScalingMode Gets or sets the BitmapScalingMode for the Visual. (Inherited from Visual.)
Protected property VisualCacheMode Gets or sets a cached representation of the Visual. (Inherited from Visual.)
Protected property VisualChildrenCount Gets the number of visual child elements within this element. (Inherited from FrameworkElement.)
Protected property VisualClearTypeHint Gets or sets the ClearTypeHint that determines how ClearType is rendered in the Visual. (Inherited from Visual.)
Protected property VisualClip Gets or sets the clip region of the Visual as a Geometry value. (Inherited from Visual.)
Protected property VisualEdgeMode Gets or sets the edge mode of the Visual as an EdgeMode value. (Inherited from Visual.)
Protected property VisualEffect Gets or sets the bitmap effect to apply to the Visual. (Inherited from Visual.)
Protected property VisualOffset Gets or sets the offset value of the visual object. (Inherited from Visual.)
Protected property VisualOpacity Gets or sets the opacity of the Visual. (Inherited from Visual.)
Protected property VisualOpacityMask Gets or sets the Brush value that represents the opacity mask of the Visual. (Inherited from Visual.)
Protected property VisualParent Gets the visual tree parent of the visual object. (Inherited from Visual.)
Protected property VisualScrollableAreaClip Gets or sets a clipped scrollable area for the Visual. (Inherited from Visual.)
Protected property VisualTextHintingMode Gets or sets the TextHintingMode of the Visual. (Inherited from Visual.)
Protected property VisualTextRenderingMode Gets or sets the TextRenderingMode of the Visual. (Inherited from Visual.)
Protected property VisualTransform Gets or sets the Transform value for the Visual. (Inherited from Visual.)
Protected property VisualXSnappingGuidelines Gets or sets the x-coordinate (vertical) guideline collection. (Inherited from Visual.)
Protected property VisualYSnappingGuidelines Gets or sets the y-coordinate (horizontal) guideline collection. (Inherited from Visual.)
Public property Width Gets or sets the width of the element. (Inherited from FrameworkElement.)
Top
Show:
© 2014 Microsoft