enabled – Owl's Blog on .NET development http://www.componentowl.com/blog Component Owl codes Better ListView control all night so you don't have to. Tue, 04 Sep 2018 13:10:05 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.8 Read-Only Mode in Better ListView http://www.componentowl.com/blog/read-only-mode-in-better-listview/ http://www.componentowl.com/blog/read-only-mode-in-better-listview/#respond Fri, 27 Jan 2012 16:21:58 +0000 http://www.componentowl.com/blog/?p=482 Better ListView 2.5 introduces a new boolean property called ReadOnly.

When set to true, the Better ListView does not respond to keyboard and mouse input. There are, however, some exceptions that make the Read-only mode different to theĀ Disabled mode (when Enabled property is set to false).

When in Read-only mode, content of the Better ListView can be still scrolled (the scroll bars are enabled) and groups/items can be expanded/collapsed.

The difference between Disabled and Read-only can be seen on the following images:

Normal state

Normal state

Disabled state

Disabled state

Read-only state

Read-only state

 

As you can see, the Better ListView is displayed normally in Read-only mode, but the group header does not have a hot state (because cannot be focused). Items also cannot be focused or selected, but the expand buttons are still interactive.

The scroll bars would also be enabled and can be used, which is different from Disabled mode where everything is grayed and cannot be used.

]]>
http://www.componentowl.com/blog/read-only-mode-in-better-listview/feed/ 0