FoldedRegionButton
Folded region button implementation class..
Definition
Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class FoldedRegionButton : FrameworkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementFoldedRegionButton...
Implements:
Inherited Members
Constructors
Initializes a new instance of the FoldedRegionButton class.
public FoldedRegionButton()
Fields
Registers the text dependency property.
public static readonly RadProperty TextProperty
Properties
public FontFamily FontFamily { get; set; }
public FontWeight FontWeight { get; set; }
Methods
Measures the space required by the RadElement
Used by the layout system.
protected override SizeF MeasureOverride(SizeF availableSize)
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
protected virtual void OnDoubleClick()
Raises the standard .NET PropertyChanged event with the specified property name to notify subscribers of property value changes.
protected override void OnNotifyPropertyChanged(string propertyName)
The name of the property that changed.
Overrides:
Paints the element's background and calls the base implementation to paint child elements.
Events
Occurs on mouse double click.
public event EventHandler DoubleClick