Class
FoldedRegionButton

Folded region button implementation class..

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class FoldedRegionButton : Control

Inheritance: objectFoldedRegionButton

Constructors

FoldedRegionButton()

Initializes a new instance of the FoldedRegionButton class.

Declaration

cs-api-definition
public FoldedRegionButton()

Fields

TextProperty

Registers the text dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TextProperty

Field Value

DependencyProperty

Properties

Text

Gets or sets the text.

Declaration

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

Property Value

string

The text.

Methods

OnDoubleClick()

Called when [double click].

Declaration

cs-api-definition
protected virtual void OnDoubleClick()

OnMouseLeftButtonDown(MouseButtonEventArgs)

Invoked when an unhandled  routed event is raised on this element. Implement this method to add class handling for this event.

Declaration

cs-api-definition
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)

Parameters

e

MouseButtonEventArgs

The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed.

Events

DoubleClick

Occurs on mouse double click.

Declaration

cs-api-definition
public event EventHandler DoubleClick

Event Value

EventHandler