Class RadPathButton
A Button control with path in its template.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
[TelerikToolboxCategory("Buttons")]
public class RadPathButton : RadButton
Constructors
RadPathButton()
Fields
ContentMarginProperty
Registers the ContentMargin dependency property.
Declaration
public static readonly DependencyProperty ContentMarginProperty
Field Value
System.Windows.DependencyProperty
|
ContentPlacementProperty
Registers the ContentPlacement dependency property.
Declaration
public static readonly DependencyProperty ContentPlacementProperty
Field Value
System.Windows.DependencyProperty
|
PathGeometryProperty
Registers the PathGeometry dependency property.
Declaration
public static readonly DependencyProperty PathGeometryProperty
Field Value
System.Windows.DependencyProperty
|
PathStyleProperty
Registers the PathStyle dependency property.
Declaration
public static readonly DependencyProperty PathStyleProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ContentMargin
Gets or sets the content margin.
Declaration
public Thickness ContentMargin { get; set; }
Property Value
System.Windows.Thickness
The content margin. |
ContentPlacement
Gets or sets the content placement.
Declaration
public Dock ContentPlacement { get; set; }
Property Value
System.Windows.Controls.Dock
The content placement. |
PathGeometry
Gets or sets the path's geometry.
Declaration
public Geometry PathGeometry { get; set; }
Property Value
System.Windows.Media.Geometry
The geometry. |
PathStyle
Gets or sets the path's style.
Declaration
public Style PathStyle { get; set; }
Property Value
System.Windows.Style
The path's style. |
Methods
OnApplyTemplate()
Builds the visual tree for the System.Windows.Controls.Slider control when a new template is applied.
Declaration
public override void OnApplyTemplate()
Overrides
OnContentChanged(Object, Object)
Called when the Content property is changed.
Declaration
protected override void OnContentChanged(object oldContent, object newContent)
Parameters
System.Object
oldContent
|
System.Object
newContent
|
OnContentPlacementChanged(Dock, Dock)
Called when [content placement changed].
Declaration
protected virtual void OnContentPlacementChanged(Dock newValue, Dock oldValue)
Parameters
System.Windows.Controls.Dock
newValue
The new value. |
System.Windows.Controls.Dock
oldValue
The old value. |
OnContentTemplateChanged(DataTemplate, DataTemplate)
Called when the ContentTemplate property is changed.
Declaration
protected override void OnContentTemplateChanged(DataTemplate oldContentTemplate, DataTemplate newContentTemplate)
Parameters
System.Windows.DataTemplate
oldContentTemplate
|
System.Windows.DataTemplate
newContentTemplate
|
OnCreateAutomationPeer()
Creates a RadButtonAutomationPeer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
Overrides
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |