ClassLineNumberMargin
Definition
Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI.Margins
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class LineNumberMargin : SelectionAwareMargin, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementContentControlSyntaxEditorMarginSelectionAwareMarginLineNumberMargin
Implements:
Inherited Members
Constructors
LineNumberMargin(RadSyntaxEditorElement)
Declaration
public LineNumberMargin(RadSyntaxEditorElement syntaxEditor)
Parameters
syntaxEditor
Fields
NumbersColorProperty
Declaration
public static readonly RadProperty NumbersColorProperty
Field Value
Properties
Methods
DisposeManagedResources()
Releases managed resources by clearing the property store and disposing value animators to prevent memory leaks.
Declaration
protected override void DisposeManagedResources()
Overrides
InitializeFields()
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement
Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
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
Remarks
In this method call to the Measure method of each child must be made.
OnPropertyChanged(RadPropertyChangedEventArgs)
Called when a property value has changed, allowing for custom response to property changes.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The property changed event arguments.
Overrides
UpdateUIOverride(UIUpdateContext)
Declaration
protected override void UpdateUIOverride(UIUpdateContext updateContext)
Parameters
updateContext
Overrides