Class Office2007TabBorder
Represents the Office2007Tabborder style for TabControlExt
Inheritance
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class Office2007TabBorder : Decorator
Constructors
Office2007TabBorder()
Declaration
public Office2007TabBorder()
Fields
BackgroundProperty
Dependency property for storing the Background
Declaration
public static readonly DependencyProperty BackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BorderBrushProperty
Dependency property for storing the BorderBrush
Declaration
public static readonly DependencyProperty BorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BorderInnerBrushProperty
Dependency property for storing the BorderInnerBrush
Declaration
public static readonly DependencyProperty BorderInnerBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BottomBorderBrushProperty
Dependency property for storing the BottomBorderBrush
Declaration
public static readonly DependencyProperty BottomBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SublineBorderBrushProperty
Dependency property for storing the SublineBorderBrush
Declaration
public static readonly DependencyProperty SublineBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TabStateProperty
Dependency property for storing the TabState
Declaration
public static readonly DependencyProperty TabStateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Background
Gets or sets the background.
Declaration
public Brush Background { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The background. |
BorderBrush
Gets or sets the border brush.
Declaration
public Brush BorderBrush { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
BorderInnerBrush
Gets or sets the border inner brush.
Declaration
public Brush BorderInnerBrush { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
BottomBorderBrush
Gets or sets the bottom border brush.
Declaration
public Brush BottomBorderBrush { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
SublineBorderBrush
Gets or sets the Sub line Border Brush
Declaration
public Brush SublineBorderBrush { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
TabState
Gets or sets the state of the tab.
Declaration
public TabStates TabState { get; set; }
Property Value
Type | Description |
---|---|
TabStates | The state of the tab. |
Methods
ArrangeOverride(Size)
Arranges the content of a System.Windows.Controls.Decorator element.
Declaration
protected override Size ArrangeOverride(Size arrangeSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | arrangeSize | The System.Windows.Size this element uses to arrange its child content. |
Returns
Type | Description |
---|---|
System.Windows.Size | The System.Windows.Size that represents the arranged size of this System.Windows.Controls.Decorator element and its child. |
MeasureOverride(Size)
Measures the child element of a System.Windows.Controls.Decorator to prepare for arranging it during the System.Windows.Controls.Decorator.ArrangeOverride(System.Windows.Size) pass.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | constraint | An upper limit System.Windows.Size that should not be exceeded. |
Returns
Type | Description |
---|---|
System.Windows.Size | The target System.Windows.Size of the element. |
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.
Declaration
protected override void OnRender(DrawingContext drawingContext)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.DrawingContext | drawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |