开发者

DevExpress XtraTreeList set focused Row Appearance to only show background color change

开发者 https://www.devze.com 2022-12-28 05:12 出处:网络
Is there a way to set a selected/focused Row Appearance s开发者_StackOverflow社区o that it makes the row only bordered (no background color changes, border color red) ?Click the smart tag button on th

Is there a way to set a selected/focused Row Appearance s开发者_StackOverflow社区o that it makes the row only bordered (no background color changes, border color red) ?


Click the smart tag button on the top right of the control when it is selected and choose Run Designer.

DevExpress XtraTreeList set focused Row Appearance to only show background color change

Then under the appearances tab on the left you can specifically set the color of most of the components in the control

DevExpress XtraTreeList set focused Row Appearance to only show background color change


For me FocusedRow/SelectedRow is not working, but it is possible to get the desired result with FocusedCell (in treelist designer -> Appearance tab, and then select FocusedCell from Appearances list)

EDIT

Both FocusedRow and FocusedCell appearances are enabled by default, so if You have a treelist with one visible column, You will not (as I didn't) see the effect of settings for FocusedRow. In this case You have to disable FocusedCell appearance (or just configure necessary appearance at FocusedCell, not FocusedRow)

XtraTreelist.OptionsSelection.EnableAppearanceFocusedCell = false;

P.S. I am using DevExpress 13.2.5 version

0

精彩评论

暂无评论...
验证码 换一张
取 消