Class
RowColumnHeadingBase

Provides a base for the row and column heading controls.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Worksheets.Margins

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public abstract class RowColumnHeadingBase : ControlBase

Inheritance: objectControlBaseRowColumnHeadingBase

Derived Classes: ColumnHeadingRowHeading

Inherited Members ControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

RowColumnHeadingBase()

Initializes a new instance of the RowColumnHeadingBase class.

Declaration

cs-api-definition
protected RowColumnHeadingBase()

Fields

FillProperty

Fill dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FillProperty

Field Value

DependencyProperty

FullySelectedFillBrushProperty

Fully selected fill brush dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FullySelectedFillBrushProperty

Field Value

DependencyProperty

HeadingStateProperty

Heading state dependency property.

Declaration

cs-api-definition
public static readonly DependencyPropertyKey HeadingStateProperty

Field Value

DependencyPropertyKey

HoverFillBrushProperty

Hover fill brush dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HoverFillBrushProperty

Field Value

DependencyProperty

NormalFillBrushProperty

Normal fill brush dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty NormalFillBrushProperty

Field Value

DependencyProperty

RectangleStrokeBrushProperty

Rectangle stroke brush dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RectangleStrokeBrushProperty

Field Value

DependencyProperty

RectangleStrokeThicknessProperty

Rectangle stroke thickness dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RectangleStrokeThicknessProperty

Field Value

DependencyProperty

SelectedFillBrushProperty

Selected fill brush dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedFillBrushProperty

Field Value

DependencyProperty

TextProperty

Text dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TextProperty

Field Value

DependencyProperty

ThumbLength

The thumb length.

Declaration

cs-api-definition
protected static readonly double ThumbLength

Field Value

double

Properties

CurrentHeadingSize

Gets or sets the size of the current heading.

Declaration

cs-api-definition
public double CurrentHeadingSize { get; set; }

Property Value

double

The size of the current heading.

Fill

Gets or sets the fill.

Declaration

cs-api-definition
public Brush Fill { get; set; }

Property Value

Brush

The fill brush.

FirstResizeThumb

Gets the first resize thumb.

Declaration

cs-api-definition
protected ResizeThumb FirstResizeThumb { get; }

Property Value

ResizeThumb

The first resize thumb.

FullySelectedFillBrush

Gets or sets the fully selected fill brush.

Declaration

cs-api-definition
public Brush FullySelectedFillBrush { get; set; }

Property Value

Brush

The fully selected fill brush.

HeadingState

Gets or sets the state of the heading.

Declaration

cs-api-definition
public RowColumnHeadingState HeadingState { get; }

Property Value

RowColumnHeadingState

The state of the heading.

HoverFillBrush

Gets or sets the hover fill brush.

Declaration

cs-api-definition
public Brush HoverFillBrush { get; set; }

Property Value

Brush

The hover fill brush.

Index

Gets or sets the index.

Declaration

cs-api-definition
public int Index { get; set; }

Property Value

int

The index.

MaxHeadingSize

Gets or sets the the max size of heading.

Declaration

cs-api-definition
public double MaxHeadingSize { get; set; }

Property Value

double

The the max size of heading.

NormalFillBrush

Gets or sets the normal fill brush.

Declaration

cs-api-definition
public Brush NormalFillBrush { get; set; }

Property Value

Brush

The normal fill brush.

PreviousHeadingSize

Gets or sets the size of the previous heading.

Declaration

cs-api-definition
public double PreviousHeadingSize { get; set; }

Property Value

double

The size of the previous heading.

RectangleStrokeBrush

Gets or sets the rectangle stroke brush.

Declaration

cs-api-definition
public Brush RectangleStrokeBrush { get; set; }

Property Value

Brush

The rectangle stroke brush.

RectangleStrokeThickness

Gets or sets the rectangle stroke thickness.

Declaration

cs-api-definition
public double RectangleStrokeThickness { get; set; }

Property Value

double

The rectangle stroke thickness.

SecondResizeThumb

Gets the second resize thumb.

Declaration

cs-api-definition
protected ResizeThumb SecondResizeThumb { get; }

Property Value

ResizeThumb

The second resize thumb.

SelectedFillBrush

Gets or sets the selected fill brush.

Declaration

cs-api-definition
public Brush SelectedFillBrush { get; set; }

Property Value

Brush

The selected fill brush.

Text

Gets or sets the text.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string

The text value.

Methods

ApplyThumbsProperties()

Applies the thumbs properties.

Declaration

cs-api-definition
protected abstract void ApplyThumbsProperties()

GetNewSize(Point)

Gets the new size.

Declaration

cs-api-definition
protected abstract double GetNewSize(Point point)

Parameters

point

Point

The point.

Returns

double

The new size.

IsPointInsideThumb(MouseEventArgs)

Determines whether the pointer is inside thumb.

Declaration

cs-api-definition
protected abstract bool IsPointInsideThumb(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Returns

bool

True if the pointer is inside thumb.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnResizeCompleted(RowColumnHeadingResizeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnResizeCompleted(RowColumnHeadingResizeEventArgs e)

Parameters

e

RowColumnHeadingResizeEventArgs

The RowColumnHeadingResizeEventArgs instance containing the event data.

OnResizeDelta(RowColumnHeadingResizeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnResizeDelta(RowColumnHeadingResizeEventArgs e)

Parameters

e

RowColumnHeadingResizeEventArgs

The RowColumnHeadingResizeEventArgs instance containing the event data.

OnResizeStarted(RowColumnHeadingResizeEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnResizeStarted(RowColumnHeadingResizeEventArgs e)

Parameters

e

RowColumnHeadingResizeEventArgs

The RowColumnHeadingResizeEventArgs instance containing the event data.

Events

ResizeCompleted

Occurs when the resize is completed.

Declaration

cs-api-definition
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeCompleted

Event Value

EventHandler<RowColumnHeadingResizeEventArgs>

ResizeDelta

Occurs when the resize delta is changed.

Declaration

cs-api-definition
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeDelta

Event Value

EventHandler<RowColumnHeadingResizeEventArgs>

ResizeStarted

Occurs when the resize is started.

Declaration

cs-api-definition
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeStarted

Event Value

EventHandler<RowColumnHeadingResizeEventArgs>