You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**RadButton** offers primary and secondary states, named primary and secondary action buttons (**Figure 1**), that share a unique innovation styles for some skins(**Bootstrap**, **Silk** and **Glow**). **Primary** action buttons use bright and saturated colors that pop up more and catch attention easily, while the **Secondary buttons** are the default ones.
14
13
15
-
>caption Figure 1: RadButton with primary and secondary action states for the Silk, Glow and Bootstrap skins.
14
+
**RadButton** offers an additional "primary" state (**Figure 1**) that uses bright and saturated colors to have the button pop up more and catch attention easily. This feature is available as of **Q1 2016**. For older versions, see the [Older Versions](#older-versions) section.
>caption Figure 1: RadButton in its regular andprimary state.
18
17
19
-
In order to switch to the primary state you must set the **CssClass** property of the **RadButton** to **rbPrimaryButton** (see **Example 1** below).
18
+

20
19
21
-
>caption Example 1: Configure primary and secondary action buttons for the **Silk**, **Glow**and **Bootstrap** skins in **RadButton**.
20
+
To switch to the primary state, set the `Primary` property of the **RadButton** control to `true` and its **[RenderMode]({%slug button/mobile-support/render-modes%})** property to `Lightweight` (**Example 1**). The property defaults to `false` result in the regular button appearance for most cases.
21
+
22
+
>caption Example 1: Configure the primary state of a RadButton instance.
To put a button in its primary state in a version **prior to Q1 2016**, you should set its `CssClass` property to `rbPrimaryButton` (**Example 2**). This state, however, is only available for the **Silk**, **Glow** and **Bootstrap** skins.
33
+
34
+
>caption Example 2: Configure the primary state of a RadButton for the **Silk**, **Glow** and **Bootstrap** skins in versions **prior to Q1 2016**.
0 commit comments