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 RowColumnHeadingBase class.
Declaration
protected RowColumnHeadingBase()
Fields
FullySelectedFillProperty
HeadingStateProperty
HoverFillProperty
NormalFillProperty
RectangleStrokeProperty
RectangleStrokeThicknessProperty
Declaration
public static readonly RadProperty RectangleStrokeThicknessProperty
Field Value
RadProperty
|
SelectedFillProperty
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. |
FirstResizeThumb
Gets the first resize thumb.
Declaration
protected ResizeThumb FirstResizeThumb { get; }
Property Value
ResizeThumb
The first resize thumb. |
FullySelectedFill
Gets or sets the fully selected fill brush.
Declaration
public Color FullySelectedFill { get; set; }
Property Value
System.Drawing.Color
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. |
HoverFill
Gets or sets the hover fill brush.
Declaration
public Color HoverFill { get; set; }
Property Value
System.Drawing.Color
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. |
NormalFill
Gets or sets the normal fill brush.
Declaration
public Color NormalFill { get; set; }
Property Value
System.Drawing.Color
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 Color RectangleStrokeBrush { get; set; }
Property Value
System.Drawing.Color
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. |
SelectedFill
Gets or sets the selected fill brush.
Declaration
public Color SelectedFill { get; set; }
Property Value
System.Drawing.Color
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.Double
The new size. |
IsPointInsideThumb(MouseEventArgs)
Determines whether the pointer is inside thumb.
Declaration
protected abstract bool IsPointInsideThumb(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Input.MouseEventArgs instance containing the event data. |
Returns
System.Boolean
|
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. |
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
Overrides
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>
|