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