RowColumnHeadingBase
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
Initializes a new instance of the RowColumnHeadingBase class.
protected RowColumnHeadingBase()
Fields
FillProperty
DependencyProperty
Fill dependency property.
public static readonly DependencyProperty FillProperty
FullySelectedFillBrushProperty
DependencyProperty
Fully selected fill brush dependency property.
public static readonly DependencyProperty FullySelectedFillBrushProperty
HeadingStateProperty
DependencyPropertyKey
Heading state dependency property.
public static readonly DependencyPropertyKey HeadingStateProperty
HoverFillBrushProperty
DependencyProperty
Hover fill brush dependency property.
public static readonly DependencyProperty HoverFillBrushProperty
NormalFillBrushProperty
DependencyProperty
Normal fill brush dependency property.
public static readonly DependencyProperty NormalFillBrushProperty
RectangleStrokeBrushProperty
DependencyProperty
Rectangle stroke brush dependency property.
public static readonly DependencyProperty RectangleStrokeBrushProperty
RectangleStrokeThicknessProperty
DependencyProperty
Rectangle stroke thickness dependency property.
public static readonly DependencyProperty RectangleStrokeThicknessProperty
SelectedFillBrushProperty
DependencyProperty
Selected fill brush dependency property.
public static readonly DependencyProperty SelectedFillBrushProperty
TextProperty
DependencyProperty
Text dependency property.
public static readonly DependencyProperty TextProperty
The thumb length.
protected static readonly double ThumbLength
Properties
Gets or sets the size of the current heading.
public double CurrentHeadingSize { get; set; }
The size of the current heading.
Fill
Brush
Gets or sets the fill.
public Brush Fill { get; set; }
The fill brush.
Gets the first resize thumb.
protected ResizeThumb FirstResizeThumb { get; }
The first resize thumb.
Gets or sets the fully selected fill brush.
public Brush FullySelectedFillBrush { get; set; }
The fully selected fill brush.
Gets or sets the state of the heading.
public RowColumnHeadingState HeadingState { get; }
The state of the heading.
HoverFillBrush
Brush
Gets or sets the hover fill brush.
public Brush HoverFillBrush { get; set; }
The hover fill brush.
Gets or sets the the max size of heading.
public double MaxHeadingSize { get; set; }
The the max size of heading.
NormalFillBrush
Brush
Gets or sets the normal fill brush.
public Brush NormalFillBrush { get; set; }
The normal fill brush.
Gets or sets the size of the previous heading.
public double PreviousHeadingSize { get; set; }
The size of the previous heading.
RectangleStrokeBrush
Brush
Gets or sets the rectangle stroke brush.
public Brush RectangleStrokeBrush { get; set; }
The rectangle stroke brush.
Gets or sets the rectangle stroke thickness.
public double RectangleStrokeThickness { get; set; }
The rectangle stroke thickness.
Gets the second resize thumb.
protected ResizeThumb SecondResizeThumb { get; }
The second resize thumb.
SelectedFillBrush
Brush
Gets or sets the selected fill brush.
public Brush SelectedFillBrush { get; set; }
The selected fill brush.
Methods
Applies the thumbs properties.
protected abstract void ApplyThumbsProperties()
Gets the new size.
protected abstract double GetNewSize(Point point)
The point.
Returns:The new size.
Determines whether the pointer is inside thumb.
protected abstract bool IsPointInsideThumb(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Returns:True if the pointer is inside thumb.
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Raises the event.
protected virtual void OnResizeCompleted(RowColumnHeadingResizeEventArgs e)
The RowColumnHeadingResizeEventArgs instance containing the event data.
Raises the event.
protected virtual void OnResizeDelta(RowColumnHeadingResizeEventArgs e)
The RowColumnHeadingResizeEventArgs instance containing the event data.
Raises the event.
protected virtual void OnResizeStarted(RowColumnHeadingResizeEventArgs e)
The RowColumnHeadingResizeEventArgs instance containing the event data.
Events
Occurs when the resize is completed.
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeCompleted
Occurs when the resize delta is changed.
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeDelta
Occurs when the resize is started.
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeStarted