ClassRowColumnHeadingBase
Provides a base for the row and column heading controls.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Worksheets.Margins
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public abstract class RowColumnHeadingBase : UIElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIElementRowColumnHeadingBase
Derived Classes:
Implements:
Inherited Members
Constructors
RowColumnHeadingBase()
Initializes a new instance of the RowColumnHeadingBase class.
Declaration
protected RowColumnHeadingBase()
Fields
FullySelectedFillProperty
Declaration
public static readonly RadProperty FullySelectedFillProperty
Field Value
HeadingStateProperty
Declaration
public static readonly RadProperty HeadingStateProperty
Field Value
HoverFillProperty
Declaration
public static readonly RadProperty HoverFillProperty
Field Value
NormalFillProperty
Declaration
public static readonly RadProperty NormalFillProperty
Field Value
RectangleStrokeProperty
Declaration
public static readonly RadProperty RectangleStrokeProperty
Field Value
RectangleStrokeThicknessProperty
Declaration
public static readonly RadProperty RectangleStrokeThicknessProperty
Field Value
SelectedFillProperty
Declaration
public static readonly RadProperty SelectedFillProperty
Field Value
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.
FirstResizeThumb
Gets the first resize thumb.
Declaration
protected ResizeThumb FirstResizeThumb { get; }
Property Value
The first resize thumb.
FullySelectedFill
Gets or sets the fully selected fill brush.
Declaration
public Color FullySelectedFill { get; set; }
Property Value
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.
HoverFill
Gets or sets the hover fill brush.
Declaration
public Color HoverFill { get; set; }
Property Value
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.
NormalFill
Gets or sets the normal fill brush.
Declaration
public Color NormalFill { get; set; }
Property Value
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 Color RectangleStrokeBrush { get; set; }
Property Value
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.
SelectedFill
Gets or sets the selected fill brush.
Declaration
public Color SelectedFill { get; set; }
Property Value
The selected fill brush.
Methods
ApplyThumbsProperties()
Applies the thumbs properties.
Declaration
protected abstract void ApplyThumbsProperties()
GetNewSize(Point)
Gets the new size.
IsPointInsideThumb(MouseEventArgs)
Determines whether the pointer is inside thumb.
Declaration
protected abstract bool IsPointInsideThumb(MouseEventArgs e)
Parameters
e
The MouseEventArgs instance containing the event data.
Returns
True if the pointer is inside thumb.
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.
PaintElement(IGraphics, float, SizeF)
Paints the element's background and calls the base implementation to paint child elements.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
graphics
The graphics object used for painting.
angle
The rotation angle to apply during painting.
scale
The scale factor to apply during painting.
Overrides
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