RowColumnHeadingBase
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
Initializes a new instance of the RowColumnHeadingBase class.
protected RowColumnHeadingBase()
Fields
public static readonly RadProperty FullySelectedFillProperty
public static readonly RadProperty HeadingStateProperty
public static readonly RadProperty HoverFillProperty
public static readonly RadProperty NormalFillProperty
public static readonly RadProperty RectangleStrokeProperty
public static readonly RadProperty RectangleStrokeThicknessProperty
public static readonly RadProperty SelectedFillProperty
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.
Gets the first resize thumb.
protected ResizeThumb FirstResizeThumb { get; }
The first resize thumb.
Gets or sets the fully selected fill brush.
public Color FullySelectedFill { get; set; }
The fully selected fill brush.
Gets or sets the state of the heading.
public RowColumnHeadingState HeadingState { get; }
The state of the heading.
Gets or sets the hover fill brush.
public Color HoverFill { 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.
Gets or sets the normal fill brush.
public Color NormalFill { 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.
Gets or sets the rectangle stroke brush.
public Color 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.
Gets or sets the selected fill brush.
public Color SelectedFill { get; set; }
The selected fill brush.
Methods
Applies the thumbs properties.
protected abstract void ApplyThumbsProperties()
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.
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.
Paints the element's background and calls the base implementation to paint child elements.
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