Question

Custom Controls

Im extending Terrasoft.BaseModule / creating Terrasoft.BaseViewModel to make a custom directive filled with controls and it worked fine.



However, now im working with arabic localization and I want to transform the "directive" from Left to Right.

 

Is there a way to achieve LTR transformation?

Maybe a class that I can pass to this directive or so..?

Like 0

Like

2 comments

Hi

You may use conditional styles and in them, depending on the condition, specify the css direction.

CSS Syntax: direction: ltr|rtl|initial|inherit;

For detail see post HOW TO ADD A CUSTOM STYLE TO A CONTROL ON A PAGE BASED ON CONDITION?

 

Dear Mohammad, 

 

Adding to the Grigoriy's answer, you can see the example of this in, for example, BasePageV2CSS: 

 

Best regards, 

Dennis 

Show all comments