Skip to content

Commit 9ce6d14

Browse files
authored
docs(lightbox): fix snippet
1 parent 0fa7068 commit 9ce6d14

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

controls/lightbox/accessibility-and-internationalization/keyboard-support.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,21 @@ position: 2
1414

1515
You can enable keyboard navigation in the **RadLightBox** control by setting the **ClientSettings.AllowKeyboardNavigation** property to **True** (its default value is **False**). Currently the following features are supported:
1616

17-
* **Access Keys**: An access key is a key combination (e.g. Ctrl+Y) that lets the user move focus to the LightBox control and subsequently use the Left and Rigth arrow keys for navigation. The access key is defined using the **AccessKey** property. For example, setting the **AccessKey** property to "Y" enables users to move focus to the LightBox by typing Ctrl+Y.
18-
````ASP.NET
17+
**Access Keys**: An access key is a key combination (e.g. Ctrl+Y) that lets the user move focus to the LightBox control and subsequently use the Left and Rigth arrow keys for navigation. The access key is defined using the **AccessKey** property. For example, setting the **AccessKey** property to "Y" enables users to move focus to the LightBox by typing Ctrl+Y.
18+
19+
````ASP.NET
1920
<telerik:RadLightBox RenderMode="Lightweight" ID="RadLightBox1" runat="server" AccessKey="Y">
2021
<ClientSettings AllowKeyboardNavigation="true">
2122
<ClientEvents />
2223
</ClientSettings>
2324
</telerik:RadLightBox>
2425
````
2526

26-
* **Left keys**: Navigates to the previous item
27+
**Left keys**: Navigates to the previous item
2728

28-
* **Right keys**: Navigates to the next item
29+
**Right keys**: Navigates to the next item
2930

30-
* **Esc keys**: Closes **RadLightBox** control
31+
**Esc keys**: Closes **RadLightBox** control
3132

3233
## See Also
3334

0 commit comments

Comments
 (0)