Control.IsRTL

Syntax

IsRTL: Boolean;

Description

The IsRTL property determines whether component elements are aligned to the right.

Comments

Available values:

Example

To execute the example, add links to the PP.js libraries and to the PP.css visual styles table. Create an application ribbon button - instance of the RibbonButton class. A button should contain a drop-down menu:

<script type="text/javascript">
    var menu = new PP.Ui.Menu();
        menu.addItem("Photos");
        menu.addItem(new PP.Separator());
        menu.addItem("Pictures");
    var b1 = new PP.Ui.RibbonButton({
        Content: "Illustrations",
        Menu: menu,
        IsRTL: true});
    b1.addToNode("btn1");
</script>

After executing the example the HTML page contains the RibbonButton component. The menu opens on clicking the button. Menu components are located on the left edge:

See also:

Control