Class BorderSelector
Represents the BorderSelector control.
Inheritance
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class BorderSelector : UserControl, INotifyPropertyChanged
Constructors
BorderSelector()
Properties
BorderPreviewControl
Declaration
public BorderPreviewControl BorderPreviewControl { get; }
Property Value
BorderPreviewControl
|
BottomBorder
Bottom border dependency property. Gets or sets the bottom border.
Declaration
public CellBorder BottomBorder { get; set; }
Property Value
CellBorder
|
CurrentBorder
Current border dependency property. Gets or sets the current border.
Declaration
public CellBorder CurrentBorder { get; set; }
Property Value
CellBorder
|
DiagonalDownBorder
DiagonalDownBorder dependency property. Gets or sets the DiagonalDownBorder border.
Declaration
public CellBorder DiagonalDownBorder { get; set; }
Property Value
CellBorder
|
DiagonalUpBorder
DiagonalUpBorder dependency property. Gets or sets the DiagonalUpBorder border.
Declaration
public CellBorder DiagonalUpBorder { get; set; }
Property Value
CellBorder
|
FourCellsDiagonalsVisibility
Gets or sets the four cells diagonals visibility.
Declaration
public Visibility FourCellsDiagonalsVisibility { get; set; }
Property Value
System.Windows.Visibility
The four cells diagonals visibility. |
InsideHorizontalBorder
InsideHorizontalBorder dependency property. Gets or sets the InsideHorizontalBorder border.
Declaration
public CellBorder InsideHorizontalBorder { get; set; }
Property Value
CellBorder
|
InsideVerticalBorder
InsideVerticalBorder dependency property. Gets or sets the InsideVerticalBorder border.
Declaration
public CellBorder InsideVerticalBorder { get; set; }
Property Value
CellBorder
|
LeftBorder
Left border dependency property. Gets or sets the left border.
Declaration
public CellBorder LeftBorder { get; set; }
Property Value
CellBorder
|
OneOrFourCellsDiagonalsVisibility
Gets or sets the one or four cells diagonals visibility.
Declaration
public Visibility OneOrFourCellsDiagonalsVisibility { get; set; }
Property Value
System.Windows.Visibility
The one or four cells diagonals visibility. |
RightBorder
Right border dependency property. Gets or sets the right border.
Declaration
public CellBorder RightBorder { get; set; }
Property Value
CellBorder
|
SelectedColumnsCount
Selected columns count dependency property. Gets or sets the selected columns count.
Declaration
public int SelectedColumnsCount { get; set; }
Property Value
System.Int32
|
SelectedRowsCount
Selected columns count dependency property. Gets or sets the selected columns count.
Declaration
public int SelectedRowsCount { get; set; }
Property Value
System.Int32
|
SetInsideBorderCommand
Gets the set inside border command.
Declaration
public ICommand SetInsideBorderCommand { get; }
Property Value
System.Windows.Input.ICommand
The set inside border command. |
SetNoBorderCommand
Gets the set no border command.
Declaration
public ICommand SetNoBorderCommand { get; }
Property Value
System.Windows.Input.ICommand
The set no border command. |
SetOutsideBorderCommand
Gets the set outside border command.
Declaration
public ICommand SetOutsideBorderCommand { get; }
Property Value
System.Windows.Input.ICommand
The set outside border command. |
ToggleBottomBorderCommand
Gets the toggle bottom border command.
Declaration
public ICommand ToggleBottomBorderCommand { get; }
Property Value
System.Windows.Input.ICommand
The toggle bottom border command. |
ToggleDiagonalDownBorderCommand
Gets the toggle diagonal down border command.
Declaration
public ICommand ToggleDiagonalDownBorderCommand { get; }
Property Value
System.Windows.Input.ICommand
The toggle diagonal down border command. |
ToggleDiagonalUpBorderCommand
Gets the toggle diagonal up border command.
Declaration
public ICommand ToggleDiagonalUpBorderCommand { get; }
Property Value
System.Windows.Input.ICommand
The toggle diagonal up border command. |
ToggleInsideHorizontalBorderCommand
Gets the toggle inside horizontal border command.
Declaration
public ICommand ToggleInsideHorizontalBorderCommand { get; }
Property Value
System.Windows.Input.ICommand
The toggle inside horizontal border command. |
ToggleInsideVerticalBorderCommand
Gets the toggle inside vertical border command.
Declaration
public ICommand ToggleInsideVerticalBorderCommand { get; }
Property Value
System.Windows.Input.ICommand
The toggle inside vertical border command. |
ToggleLeftBorderCommand
Gets the toggle left border command.
Declaration
public ICommand ToggleLeftBorderCommand { get; }
Property Value
System.Windows.Input.ICommand
The toggle left border command. |
ToggleRightBorderCommand
Gets the toggle right border command.
Declaration
public ICommand ToggleRightBorderCommand { get; }
Property Value
System.Windows.Input.ICommand
The toggle right border command. |
ToggleTopBorderCommand
Gets the toggle top border command.
Declaration
public ICommand ToggleTopBorderCommand { get; }
Property Value
System.Windows.Input.ICommand
The toggle top border command. |
TopBorder
Top border dependency property. Gets or sets the top border.
Declaration
public CellBorder TopBorder { get; set; }
Property Value
CellBorder
|
TwoHorizontalCellsDiagonalsVisibility
Gets or sets the two horizontal cells diagonals visibility.
Declaration
public Visibility TwoHorizontalCellsDiagonalsVisibility { get; set; }
Property Value
System.Windows.Visibility
The two horizontal cells diagonals visibility. |
TwoVerticalCellsDiagonalsVisibility
Gets or sets the two vertical cells diagonals visibility.
Declaration
public Visibility TwoVerticalCellsDiagonalsVisibility { get; set; }
Property Value
System.Windows.Visibility
The two vertical cells diagonals visibility. |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
true if managed resources should be disposed; otherwise, false. |
OnLoad(EventArgs)
Handles the Loaded event of the BorderSelector control.
Declaration
protected override void OnLoad(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs instance containing the event data. |
OnWindowClosed()
Declaration
public void OnWindowClosed()
ToggleBorder(CellBorder)
Toggles the border.
Declaration
public CellBorder ToggleBorder(CellBorder border)
Parameters
CellBorder
border
The border. |
Returns
CellBorder
The current border or the default cell border value. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|