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
530
Setting the CharacterCasing on a UltraTreeNodeColumn
posted

Hi, I'm trying to set the character casing on a UltraTreeNodeColumn to upper case. Any suggestiong? One of the columns is just plain text and the other I'm using a UltraDropDown. Thanks

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    The UltraTreeNodeColumn doesn't expose a CharacterCasing property like the UltraGridColumn does, but you can still achieve what you want using an editor.

    What you do is place an UltraTextEditor control on the form and set it's CharacterCasing to Upper. Then set the EditorComponent property on the column to the UltraTextEditor. The ColumnSetGenerated event might be a good place to do this - depending on when and how your ColumnSets are being created.

    For the UltraDropDown column, the best thing to do would be to simply set CharacterCasing on the DisplayMember column of the UltraDropDown to Upper.

Reply Children