Click or drag to resize
RadRibbonToggleButton Class
A ToggleButton control for usage in the RadRibbonView.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              System.Windows.ControlsContentControl
                System.Windows.Controls.PrimitivesButtonBase
                  System.Windows.Controls.PrimitivesToggleButton
                    Telerik.Windows.ControlsRadToggleButton
                      Telerik.Windows.ControlsRadRibbonToggleButton

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.RibbonView (in Telerik.Windows.Controls.RibbonView.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public class RadRibbonToggleButton : RadToggleButton, 
	IRibbonButton, IVariantControl

The RadRibbonToggleButton type exposes the following members.

Constructors
  NameDescription
Public methodRadRibbonToggleButton
Initializes a new instance of the RadRibbonToggleButton class.
Top
Methods
  NameDescription
Public methodOnApplyTemplate
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call. ApplyTemplate.
(Overrides RadToggleButtonOnApplyTemplate.)
Protected methodOnClick
Called when a control is clicked by the mouse or the keyboard.
(Inherited from RadToggleButton.)
Protected methodOnCreateAutomationPeer
Creates a RadToggleButtonAutomationPeer.
(Overrides RadToggleButtonOnCreateAutomationPeer.)
Protected methodOnGotFocus
Invoked on got focus.
(Inherited from RadToggleButton.)
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides RadToggleButtonOnInitialized(EventArgs).)
Protected methodOnLostFocus
Invoke on focus lost.
(Inherited from RadToggleButton.)
Protected methodOnMouseEnter
Invoke on mouse enter.
(Inherited from RadToggleButton.)
Protected methodOnMouseLeave
Invoke on mouse leave.
(Inherited from RadToggleButton.)
Protected methodOnMouseLeftButtonUp
Invoke on mouse left button up.
(Inherited from RadToggleButton.)
Public methodSetVariant
Implements the interface for button resizing in order to follow the resize mechanism of the ribbon group.
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberCollapseToMediumProperty
Identifies the CollapseToMedium property.
Public fieldStatic memberCollapseToSmallProperty
Identifies the CollapseToSmall property.
Public fieldStatic memberCurrentSizeProperty
Identifies the CurrentSize property.
Public fieldStatic memberIsAutoSizeProperty
Identifies the IsAutoSize property.
Public fieldStatic memberLargeImageProperty
Identifies the LargeImage property.
Public fieldStatic memberSizeProperty
Identifies the Size property.
Public fieldStatic memberSmallImageProperty
Identifies the SmallImage property.
Public fieldStatic memberTextProperty
Identifies the Text property.
Public fieldStatic memberTextRow1Property
Identifies the TextRow1 property.
Public fieldStatic memberTextRow2Property
Identifies the TextRow2 property.
Top
Properties
  NameDescription
Public propertyCollapseToMedium
Get/Set the guidance about button's resize to the Medium size. This is a dependency property.
Public propertyCollapseToSmall
Get/Set the guidance about button's resize to the Small size. This is a dependency property.
Public propertyCornerRadius
Gets or sets a value that represents the degree to which the corners of the control are rounded. This is a dependency property.
(Inherited from RadToggleButton.)
Public propertyCurrentSize
Get/Set the current State-size of the button. This is a dependency property.
Public propertyInnerCornerRadius
Gets or sets a value that represents the degree to which the inner corners of the control are rounded. This is a dependency property.
(Inherited from RadToggleButton.)
Public propertyIsAutoSize
Get/Set the permission to resize the Image according to the RibbonView guidance. This is a dependency property.
Public propertyIsBackgroundVisible
Sets the visual appearance of the chrome not to render in Normal mode.
(Inherited from RadToggleButton.)
Public propertyLargeImage
Get/Set the LargeImage that is shown in Large button state. This is a dependency property.
Public propertySize
Get/Set the button initial size. In fact this is the max-size that the button can implement. This is a dependency property.
Public propertySmallImage
Get/Set the SmallImage that is shown in Medium and Small button state. This is a dependency property.
Public propertyText
Get/Set the Text label that is shown in Medium and Large button state. This is a dependency property.
Public propertyTextRow1
Get/Set the Text label that is shown in Medium and Large button state. This is a dependency property.
Public propertyTextRow2
Get/Set the Text label that is shown only in Large button state. This is a dependency property.
Top
Events
  NameDescription
Public eventActivate
Occurs when button is clicked.
(Inherited from RadToggleButton.)
Public eventPreviewClick
Occurs when the content will be Clicked. If the event handler set True for the Handled property then the button will not be clicked.
(Inherited from RadToggleButton.)
Top
See Also