Class
NavigationItemButton

Represents custom control that is used to navigate to the specific RadRadialMenuItem children.

Definition

Namespace:Telerik.Windows.Controls.RadialMenu

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class NavigationItemButton : Control

Inheritance: objectNavigationItemButton

Constructors

NavigationItemButton()

Initializes a new instance of the NavigationItemButton class.

Declaration

cs-api-definition
public NavigationItemButton()

Properties

IsTemplateApplied

Determines whether the OnApplyTemplate() method and the ApplyTemplateCore() routine is passed.

Declaration

cs-api-definition
protected bool IsTemplateApplied { get; }

Property Value

bool

Methods

ApplyTemplateCore()

Called when the Framework is called. Inheritors should override this method should they have some custom template-related logic. This is done to ensure that the property is properly initialized.

Declaration

cs-api-definition
protected bool ApplyTemplateCore()

Returns

bool

CanUpdateVisualState()

Determines whether the current visual state may be updated.

Declaration

cs-api-definition
protected virtual bool CanUpdateVisualState()

Returns

bool

ComposeVisualStateName()

Builds the current visual state for this instance.

Declaration

cs-api-definition
protected string ComposeVisualStateName()

Returns

string

ComposeVisualStateNameBase()

Builds the current visual state for this instance.

Declaration

cs-api-definition
protected string ComposeVisualStateNameBase()

Returns

string

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Creates a RadRadialMenuNavigationItemButtonAutomationPeer.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnMouseEnter(MouseEventArgs)

Called before the System.Windows.UIElement.MouseEnter event occurs.

Declaration

cs-api-definition
protected override void OnMouseEnter(MouseEventArgs e)

Parameters

e

MouseEventArgs

The data for the event.

OnMouseLeave(MouseEventArgs)

Called before the System.Windows.UIElement.MouseLeave event occurs.

Declaration

cs-api-definition
protected override void OnMouseLeave(MouseEventArgs e)

Parameters

e

MouseEventArgs

The data for the event.

OnTemplateApplied()

Occurs when the method has been called and the template is already successfully applied.

Declaration

cs-api-definition
protected void OnTemplateApplied()

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

SetVisualState(string, bool)

Applies the specified visual state as current.

Declaration

cs-api-definition
protected virtual void SetVisualState(string state, bool animate)

Parameters

state

string

The new visual state.

animate

bool

True to use transitions, false otherwise.

UpdateVisualState(bool)

Re-evaluates the current visual state for the control and updates it if necessary.

Declaration

cs-api-definition
protected virtual void UpdateVisualState(bool animate)

Parameters

animate

bool

True to use transitions during state update, false otherwise.