Class RowColumnHeadingBase
Provides a base for the row and column heading controls.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Worksheets.Margins
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public abstract class RowColumnHeadingBase : UIElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
RowColumnHeadingBase()
Initializes a new instance of the Row
Declaration
protected RowColumnHeadingBase()
Fields
FullySelectedFillProperty
HeadingStateProperty
HoverFillProperty
NormalFillProperty
RectangleStrokeProperty
RectangleStrokeThicknessProperty
Declaration
public static readonly RadProperty RectangleStrokeThicknessProperty
Field Value
SelectedFillProperty
ThumbLength
The thumb length.
Declaration
protected static readonly double ThumbLength
Field Value
System.
|
Properties
CurrentHeadingSize
Gets or sets the size of the current heading.
Declaration
public double CurrentHeadingSize { get; set; }
Property Value
System. The size of the current heading. |
FirstResizeThumb
Gets the first resize thumb.
Declaration
protected ResizeThumb FirstResizeThumb { get; }
Property Value
Resize The first resize thumb. |
FullySelectedFill
Gets or sets the fully selected fill brush.
Declaration
public Color FullySelectedFill { get; set; }
Property Value
System. The fully selected fill brush. |
HeadingState
Gets or sets the state of the heading.
Declaration
public RowColumnHeadingState HeadingState { get; }
Property Value
Row The state of the heading. |
HoverFill
Gets or sets the hover fill brush.
Declaration
public Color HoverFill { get; set; }
Property Value
System. The hover fill brush. |
Index
Gets or sets the index.
Declaration
public int Index { get; set; }
Property Value
System. The index. |
MaxHeadingSize
Gets or sets the the max size of heading.
Declaration
public double MaxHeadingSize { get; set; }
Property Value
System. The the max size of heading. |
NormalFill
Gets or sets the normal fill brush.
Declaration
public Color NormalFill { get; set; }
Property Value
System. The normal fill brush. |
PreviousHeadingSize
Gets or sets the size of the previous heading.
Declaration
public double PreviousHeadingSize { get; set; }
Property Value
System. The size of the previous heading. |
RectangleStrokeBrush
Gets or sets the rectangle stroke brush.
Declaration
public Color RectangleStrokeBrush { get; set; }
Property Value
System. The rectangle stroke brush. |
RectangleStrokeThickness
Gets or sets the rectangle stroke thickness.
Declaration
public double RectangleStrokeThickness { get; set; }
Property Value
System. The rectangle stroke thickness. |
SecondResizeThumb
Gets the second resize thumb.
Declaration
protected ResizeThumb SecondResizeThumb { get; }
Property Value
Resize The second resize thumb. |
SelectedFill
Gets or sets the selected fill brush.
Declaration
public Color SelectedFill { get; set; }
Property Value
System. 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
System. The new size. |
IsPointInsideThumb(MouseEventArgs)
Determines whether the pointer is inside thumb.
Declaration
protected abstract bool IsPointInsideThumb(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
OnResizeCompleted(RowColumnHeadingResizeEventArgs)
Raises the Resize
Declaration
protected virtual void OnResizeCompleted(RowColumnHeadingResizeEventArgs e)
Parameters
Row The Row |
OnResizeDelta(RowColumnHeadingResizeEventArgs)
Raises the Resize
Declaration
protected virtual void OnResizeDelta(RowColumnHeadingResizeEventArgs e)
Parameters
Row The Row |
OnResizeStarted(RowColumnHeadingResizeEventArgs)
Raises the Resize
Declaration
protected virtual void OnResizeStarted(RowColumnHeadingResizeEventArgs e)
Parameters
Row The Row |
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.
|
System.
|
Overrides
Events
ResizeCompleted
Occurs when the resize is completed.
Declaration
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeCompleted
Event Type
System.
|
ResizeDelta
Occurs when the resize delta is changed.
Declaration
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeDelta
Event Type
System.
|
ResizeStarted
Occurs when the resize is started.
Declaration
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeStarted
Event Type
System.
|