Home Forums WinForms controls Xceed Grid for WinForms Cell editing filling from the right side

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #17162 |

    Is there a way to turn the writing of the cell to the right side at edit time

     

    Imported from legacy forums. Posted by Akif (had 1283 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi,

    well, it depends.  You want to set this from the designer or programmatically?   When you don’t know how to do something through programming, doing it through the designer and observing the changes made in the code by the Designer is not a bad idea.

    Also, is this setting for a single row or for the whole column?  The code (in C#) will be different, of course, depending on what you want to do.

    If you are defining a column, you can simply use column1.HorizontalAlignment = Xceed.Grid.HorizontalAlignment.Right;

    If the setting a for a single row, it would rather be:

    dataRow.Cells[“column2”].HorizontalAlignment = Xceed.Grid.HorizontalAlignment.Right;

    Imported from legacy forums. Posted by Ghislain (had 894 views)

    User (Old forums)
    Member
    Post count: 23064

    Thank you my Friend

    but Im  want to show the Curser within the cell on the right side

    Before Leaving out of the cell

    Thank you again

    Imported from legacy forums. Posted by Akif (had 1687 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.