Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1050
column value alignement
posted

I am not able to set the alignment for the values.

for example i want the currency field values to be alighned to right.

I tried  

e.FieldLayout.FieldsIdea.Settings.CellContentAlignment = CellContentAlignment.LabelAboveValueAlignRight;

and also the

CellValuePresenter a = new CellValuePresenter();

a.FontSize = 20;

a.HorizontalAlignment=
HorizontalAlignment.Right;

e.FieldLayout.FieldsIdea.Settings.CellValuePresenterStyle= a.Style;

no use.

any help?

Parents
  • 8576
    Offline posted
    Hi -
     
    The XamCurrencyEditor is used by default for all decimal fields in the XamDataGrid.  The XamCurrencyEditor automatically right aligns the values it displays. 
     
    Are you changing the default editor being used for the decimal field that contains the currency values?
     
    Joe
     
     
Reply Children