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

Folded region button implementation class..

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

C#
public class FoldedRegionButton : Control

Inheritance: objectFoldedRegionButton

Constructors

Initializes a new instance of the FoldedRegionButton class.

C#
public FoldedRegionButton()

Fields

TextProperty

DependencyProperty

Registers the text dependency property.

C#
public static readonly DependencyProperty TextProperty

Properties

Gets or sets the text.

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

The text.

Methods

Called when [double click].

C#
protected virtual void OnDoubleClick()

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

C#
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

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

Events

Occurs on mouse double click.

C#
public event EventHandler DoubleClick