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

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:

C#
public class NavigationItemButton : Control

Inheritance: objectNavigationItemButton

Constructors

Initializes a new instance of the NavigationItemButton class.

C#
public NavigationItemButton()

Properties

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

C#
protected bool IsTemplateApplied { get; }

Methods

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.

C#
protected bool ApplyTemplateCore()
Returns:

bool

Determines whether the current visual state may be updated.

C#
protected virtual bool CanUpdateVisualState()
Returns:

bool

Builds the current visual state for this instance.

C#
protected string ComposeVisualStateName()
Returns:

string

Builds the current visual state for this instance.

C#
protected string ComposeVisualStateNameBase()
Returns:

string

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

C#
public override void OnApplyTemplate()

Creates a RadRadialMenuNavigationItemButtonAutomationPeer.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

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

C#
protected override void OnMouseEnter(MouseEventArgs e)
Parameters:eMouseEventArgs

The data for the event.

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

C#
protected override void OnMouseLeave(MouseEventArgs e)
Parameters:eMouseEventArgs

The data for the event.

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

C#
protected void OnTemplateApplied()

Resets the theme.

C#
public void ResetTheme()

Applies the specified visual state as current.

C#
protected virtual void SetVisualState(string state, bool animate)
Parameters:statestring

The new visual state.

animatebool

True to use transitions, false otherwise.

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

C#
protected virtual void UpdateVisualState(bool animate)
Parameters:animatebool

True to use transitions during state update, false otherwise.