skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class BorderSelector

Represents the BorderSelector control.

Inheritance
System.Object
BorderSelector
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll

Syntax

public class BorderSelector : UserControl, INotifyPropertyChanged

Constructors

BorderSelector()

Initializes a new instance of the BorderSelector class.

Declaration
public 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

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.