FillSelection
This class represents the fill selection of the Selection.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet.Worksheets
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class FillSelection
Inheritance: objectFillSelection
Constructors
Creates a fill-selection controller for the worksheet editor; fill-handle behavior is enabled initially.
public FillSelection(RadWorksheetEditor editor)
The worksheet editor whose selection is extended and filled.
Properties
Gets or sets a value indicating whether to enable or disable the Fill Handle feature.
public bool IsEnabled { get; set; }
The value indicating whether to enable or disable the Fill Handle feature.
Gets whether the fill range extends upward or leftward from the original selection.
public bool IsReversed { get; }
Gets or sets a value indicating whether the fill selection is started or not.
public bool IsStarted { get; set; }
LastActivePosition
CellIndex
Gets a value returning the cell index of the last active position of the pointer.
public CellIndex LastActivePosition { get; }
Orientation
CellOrientation?
Gets the axis used to expand the current fill range; it is set to vertical when a fill starts and changes if the drag switches axes.
public CellOrientation? Orientation { get; }
SelectedRange
CellRange
Gets a value returning the selected CellRange.
public CellRange SelectedRange { get; }
Events
Occurs when the FillSelection is changed.
public event EventHandler FillSelectionChanged
Occurs when the IsEnabled is changed.
public event EventHandler IsEnabledChanged