ClassRowColumnHeadingBase
Provides a base for the row and column heading controls.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Worksheets.Margins
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public abstract class RowColumnHeadingBase : ControlBase
Inheritance: objectControlBaseRowColumnHeadingBase
Derived Classes:
Inherited Members
Constructors
RowColumnHeadingBase()
Initializes a new instance of the RowColumnHeadingBase class.
Declaration
protected RowColumnHeadingBase()
Fields
FillProperty
Fill dependency property.
Declaration
public static readonly DependencyProperty FillProperty
Field Value
DependencyProperty
FullySelectedFillBrushProperty
Fully selected fill brush dependency property.
Declaration
public static readonly DependencyProperty FullySelectedFillBrushProperty
Field Value
DependencyProperty
HeadingStateProperty
Heading state dependency property.
Declaration
public static readonly DependencyPropertyKey HeadingStateProperty
Field Value
DependencyPropertyKey
HoverFillBrushProperty
Hover fill brush dependency property.
Declaration
public static readonly DependencyProperty HoverFillBrushProperty
Field Value
DependencyProperty
NormalFillBrushProperty
Normal fill brush dependency property.
Declaration
public static readonly DependencyProperty NormalFillBrushProperty
Field Value
DependencyProperty
RectangleStrokeBrushProperty
Rectangle stroke brush dependency property.
Declaration
public static readonly DependencyProperty RectangleStrokeBrushProperty
Field Value
DependencyProperty
RectangleStrokeThicknessProperty
Rectangle stroke thickness dependency property.
Declaration
public static readonly DependencyProperty RectangleStrokeThicknessProperty
Field Value
DependencyProperty
SelectedFillBrushProperty
Selected fill brush dependency property.
Declaration
public static readonly DependencyProperty SelectedFillBrushProperty
Field Value
DependencyProperty
TextProperty
Text dependency property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
DependencyProperty
ThumbLength
The thumb length.
Properties
CurrentHeadingSize
Gets or sets the size of the current heading.
Declaration
public double CurrentHeadingSize { get; set; }
Property Value
The size of the current heading.
Fill
Gets or sets the fill.
Declaration
public Brush Fill { get; set; }
Property Value
Brush
The fill brush.
FirstResizeThumb
Gets the first resize thumb.
Declaration
protected ResizeThumb FirstResizeThumb { get; }
Property Value
The first resize thumb.
FullySelectedFillBrush
Gets or sets the fully selected fill brush.
Declaration
public Brush FullySelectedFillBrush { get; set; }
Property Value
Brush
The fully selected fill brush.
HeadingState
Gets or sets the state of the heading.
Declaration
public RowColumnHeadingState HeadingState { get; }
Property Value
The state of the heading.
HoverFillBrush
Gets or sets the hover fill brush.
Declaration
public Brush HoverFillBrush { get; set; }
Property Value
Brush
The hover fill brush.
Index
Gets or sets the index.
MaxHeadingSize
Gets or sets the the max size of heading.
Declaration
public double MaxHeadingSize { get; set; }
Property Value
The the max size of heading.
NormalFillBrush
Gets or sets the normal fill brush.
Declaration
public Brush NormalFillBrush { get; set; }
Property Value
Brush
The normal fill brush.
PreviousHeadingSize
Gets or sets the size of the previous heading.
Declaration
public double PreviousHeadingSize { get; set; }
Property Value
The size of the previous heading.
RectangleStrokeBrush
Gets or sets the rectangle stroke brush.
Declaration
public Brush RectangleStrokeBrush { get; set; }
Property Value
Brush
The rectangle stroke brush.
RectangleStrokeThickness
Gets or sets the rectangle stroke thickness.
Declaration
public double RectangleStrokeThickness { get; set; }
Property Value
The rectangle stroke thickness.
SecondResizeThumb
Gets the second resize thumb.
Declaration
protected ResizeThumb SecondResizeThumb { get; }
Property Value
The second resize thumb.
SelectedFillBrush
Gets or sets the selected fill brush.
Declaration
public Brush SelectedFillBrush { get; set; }
Property Value
Brush
The selected fill brush.
Methods
ApplyThumbsProperties()
Applies the thumbs properties.
Declaration
protected abstract void ApplyThumbsProperties()
GetNewSize(Point)
Gets the new size.
Declaration
protected abstract double GetNewSize(Point point)
Parameters
point
Point
The point.
Returns
The new size.
IsPointInsideThumb(MouseEventArgs)
Determines whether the pointer is inside thumb.
Declaration
protected abstract bool IsPointInsideThumb(MouseEventArgs e)
Parameters
e
MouseEventArgs
The MouseEventArgs instance containing the event data.
Returns
True if the pointer is inside thumb.
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
OnResizeCompleted(RowColumnHeadingResizeEventArgs)
Raises the event.
Declaration
protected virtual void OnResizeCompleted(RowColumnHeadingResizeEventArgs e)
Parameters
e
RowColumnHeadingResizeEventArgs
The RowColumnHeadingResizeEventArgs instance containing the event data.
OnResizeDelta(RowColumnHeadingResizeEventArgs)
Raises the event.
Declaration
protected virtual void OnResizeDelta(RowColumnHeadingResizeEventArgs e)
Parameters
e
RowColumnHeadingResizeEventArgs
The RowColumnHeadingResizeEventArgs instance containing the event data.
OnResizeStarted(RowColumnHeadingResizeEventArgs)
Raises the event.
Declaration
protected virtual void OnResizeStarted(RowColumnHeadingResizeEventArgs e)
Parameters
e
RowColumnHeadingResizeEventArgs
The RowColumnHeadingResizeEventArgs instance containing the event data.
Events
ResizeCompleted
Occurs when the resize is completed.
Declaration
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeCompleted
Event Value
ResizeDelta
Occurs when the resize delta is changed.
Declaration
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeDelta
Event Value
ResizeStarted
Occurs when the resize is started.
Declaration
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeStarted
Event Value