New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public abstract class RowColumnHeadingBase : ControlBase

Inheritance: objectControlBaseRowColumnHeadingBase

Derived Classes: ColumnHeadingRowHeading

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

Constructors

Initializes a new instance of the RowColumnHeadingBase class.

C#
protected RowColumnHeadingBase()

Fields

FillProperty

DependencyProperty

Fill dependency property.

C#
public static readonly DependencyProperty FillProperty

Fully selected fill brush dependency property.

C#
public static readonly DependencyProperty FullySelectedFillBrushProperty

HeadingStateProperty

DependencyPropertyKey

Heading state dependency property.

C#
public static readonly DependencyPropertyKey HeadingStateProperty

HoverFillBrushProperty

DependencyProperty

Hover fill brush dependency property.

C#
public static readonly DependencyProperty HoverFillBrushProperty

NormalFillBrushProperty

DependencyProperty

Normal fill brush dependency property.

C#
public static readonly DependencyProperty NormalFillBrushProperty

Rectangle stroke brush dependency property.

C#
public static readonly DependencyProperty RectangleStrokeBrushProperty

Rectangle stroke thickness dependency property.

C#
public static readonly DependencyProperty RectangleStrokeThicknessProperty

SelectedFillBrushProperty

DependencyProperty

Selected fill brush dependency property.

C#
public static readonly DependencyProperty SelectedFillBrushProperty

TextProperty

DependencyProperty

Text dependency property.

C#
public static readonly DependencyProperty TextProperty

The thumb length.

C#
protected static readonly double ThumbLength

Properties

Gets or sets the size of the current heading.

C#
public double CurrentHeadingSize { get; set; }
Property Value:

The size of the current heading.

Fill

Brush

Gets or sets the fill.

C#
public Brush Fill { get; set; }
Property Value:

The fill brush.

Gets the first resize thumb.

C#
protected ResizeThumb FirstResizeThumb { get; }
Property Value:

The first resize thumb.

Gets or sets the fully selected fill brush.

C#
public Brush FullySelectedFillBrush { get; set; }
Property Value:

The fully selected fill brush.

Gets or sets the state of the heading.

C#
public RowColumnHeadingState HeadingState { get; }
Property Value:

The state of the heading.

Gets or sets the hover fill brush.

C#
public Brush HoverFillBrush { get; set; }
Property Value:

The hover fill brush.

Gets or sets the index.

C#
public int Index { get; set; }
Property Value:

The index.

Gets or sets the the max size of heading.

C#
public double MaxHeadingSize { get; set; }
Property Value:

The the max size of heading.

Gets or sets the normal fill brush.

C#
public Brush NormalFillBrush { get; set; }
Property Value:

The normal fill brush.

Gets or sets the size of the previous heading.

C#
public double PreviousHeadingSize { get; set; }
Property Value:

The size of the previous heading.

Gets or sets the rectangle stroke brush.

C#
public Brush RectangleStrokeBrush { get; set; }
Property Value:

The rectangle stroke brush.

Gets or sets the rectangle stroke thickness.

C#
public double RectangleStrokeThickness { get; set; }
Property Value:

The rectangle stroke thickness.

Gets the second resize thumb.

C#
protected ResizeThumb SecondResizeThumb { get; }
Property Value:

The second resize thumb.

Gets or sets the selected fill brush.

C#
public Brush SelectedFillBrush { get; set; }
Property Value:

The selected fill brush.

Gets or sets the text.

C#
public string Text { get; set; }
Property Value:

The text value.

Methods

Applies the thumbs properties.

C#
protected abstract void ApplyThumbsProperties()

Gets the new size.

C#
protected abstract double GetNewSize(Point point)
Parameters:pointPoint

The point.

Returns:

double

The new size.

Determines whether the pointer is inside thumb.

C#
protected abstract bool IsPointInsideThumb(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs instance containing the event data.

Returns:

bool

True if the pointer is inside thumb.

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

C#
public override void OnApplyTemplate()

Raises the event.

C#
protected virtual void OnResizeCompleted(RowColumnHeadingResizeEventArgs e)
Parameters:eRowColumnHeadingResizeEventArgs

The RowColumnHeadingResizeEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnResizeDelta(RowColumnHeadingResizeEventArgs e)
Parameters:eRowColumnHeadingResizeEventArgs

The RowColumnHeadingResizeEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnResizeStarted(RowColumnHeadingResizeEventArgs e)
Parameters:eRowColumnHeadingResizeEventArgs

The RowColumnHeadingResizeEventArgs instance containing the event data.

Events

Occurs when the resize is completed.

C#
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeCompleted

Occurs when the resize delta is changed.

C#
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeDelta

Occurs when the resize is started.

C#
public event EventHandler<RowColumnHeadingResizeEventArgs> ResizeStarted