Add documentation, class reference, and quick-start guide pages (5771 files)

This commit is contained in:
Jarvis Prime
2026-03-23 20:14:47 +00:00
parent 94a1b3d794
commit 1d795b2f00
5780 changed files with 392312 additions and 0 deletions

View File

@@ -0,0 +1,145 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Focusing Elements</title>
<link href="style.css" rel="stylesheet" type="text/css">
<link href="prettify.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="prettify.js"></script><script type="text/javascript" src="lang-vb.js"></script><link href="../resources/main.css" media="screen" rel="stylesheet" type="text/css">
</head>
<body onload="prettyPrint()"><div class="placing">
<br><table class="navigation"><tr>
<td class="navigation-previous"><a href="chapter-empty-text.html"><strong>
« Empty Text</strong></a></td>
<td class="navigation-index"><a href="../../../quick-start-guide/better-listview/index.html"><strong>Index</strong></a></td>
<td class="navigation-next"><a href="chapter-groups.html"><strong>Groups »
</strong></a></td>
</tr></table>
<br><h1>Focusing Elements</h1>
<div class="banner">
<a href="../../../blog/page/6/index.html"><img src="../resources/overview.gif" alt="Better ListView" class="ss"></a>
<div class="inside">
<div class="text">Better ListView: Ultimate .NET ListView replacement control for WinForms (C#, VB.NET)</div>
<span class="dbtn-c dbtn-hilight"><span class="dbtn-w"><a href="../../../betterlistview.exe" class="dbtn">Download</a></span></span>
<span class="dbtn-c"><span class="dbtn-w"><a href="../../../blog/page/6/index.html" class="dbtn">More Info</a></span></span>
</div>
</div>
<h2>Focusing Items and Groups</h2>
<p>Elements of Better ListView controls can be focused independently on
control focus state. Items, sub-items and groups can be focused using
mouse or keyboard.</p>
<p>When item or group is clicked, it gets focus within the Better
ListView Control. The focused item is usually displayed slightly darker
than other items (Aero theme) when selected.</p>
<p>The focused item can be recognized by <strong><em>focus
rectangle</em></strong>, which is apparent when item is focused, but not
selected:</p>
<p class="images"><img src="focus-item.png"><img src="focus-group.png"></p>
<p>When graphic theme is turned off, focus rectangle is displayed after
item or group is focused by keyboard for the first time. To hide focus
rectangle again, call <span class="code">ResetFocusRectangleDisplay</span>
method.</p>
<h2>Focusing Sub-Items</h2>
<p>Sub-items can be focused in <strong><em>Details</em></strong> view with
columns.</p>
<p>Sub-items cannot be focused by mouse, but when an item is focused,
using <span class="code">Left</span> and <span class="code">Right</span> arrow keys allows you to
move focus rectangle to subsequent sub-items:</p>
<p class="images"><img src="sub-items.png"></p>
<p>Having a sub-item focused allows you to invoke label editing of
sub-items using keyboard (see <strong><em><a href="chapter-label-edit.html">Label Editing</a></em></strong> for more
information).</p>
<p>Sub item focusing behavior can be customized using
<span class="code">SubItemFocusBehavior</span> property. It can have one of the three
values:</p>
<ul style="list-style:none">
<li>
<span class="code">None</span><ul style="list-style:none"><li>
<p>Sub items cannot be focused.</p>
</li></ul>
</li>
<li>
<span class="code">All</span><ul style="list-style:none"><li>
<p>Sub items can always be focused.</p>
</li></ul>
</li>
<li>
<span class="code">Auto</span><ul style="list-style:none"><li>
<p>Sub-items can be focused in all items except <strong><em><a href="chapter-items.html#combined-items">Combined
Items</a></em></strong>.</p>
</li></ul>
</li>
</ul>
<br><hr>
<p class="note">When sub-item focusing is not possible in a given moment, Better
ListView utilizes the left or right arrow key to perform horizontal
scrolling.</p>
<hr>
<br><h2>Detecting Focused Element</h2>
<p>Better ListView provides several properties to check which element
is currently focused:</p>
<ul>
<li>
<p><span class="code">FocusedGroup</span></p>
</li>
<li>
<p><span class="code">FocusedItem</span></p>
</li>
<li>
<p><span class="code">FocusedSubItem</span></p>
</li>
</ul>
<br><hr>
<p class="note">When a sub-item is focused (<span class="code">FocusedSubItem</span> property
is not <span class="code">null</span>), the item is focused as well.</p>
<hr>
<br><p>To detect when focused element has been change, use the
<span class="code">FocusedItemChanged</span> event. Event data contains information
about both previous and recent focused element.</p>
<br><div class="banner">
<a href="../../../blog/page/6/index.html"><img src="../resources/overview.gif" alt="Better ListView" class="ss"></a>
<div class="inside">
<div class="text">Better ListView: Ultimate .NET ListView replacement control for WinForms (C#, VB.NET)</div>
<span class="dbtn-c dbtn-hilight"><span class="dbtn-w"><a href="../../../betterlistview.exe" class="dbtn">Download</a></span></span>
<span class="dbtn-c"><span class="dbtn-w"><a href="../../../blog/page/6/index.html" class="dbtn">More Info</a></span></span>
</div>
</div>
<table class="navigation"><tr>
<td class="navigation-previous"><a href="chapter-empty-text.html"><strong>
« Empty Text</strong></a></td>
<td class="navigation-index"><a href="../../../quick-start-guide/better-listview/index.html"><strong>Index</strong></a></td>
<td class="navigation-next"><a href="chapter-groups.html"><strong>Groups »
</strong></a></td>
</tr></table>
<br><table class="footer"><tr>
<td class="footer-title">Better ListView Documentation
</td>
<td class="footer-copyright">
Copyright © 2010-2012  <a href="../../../index.html" target="_blank">ComponentOwl.com</a>
</td>
</tr></table>
</div></body>
</html>