Prev | Current Page 222 | Next

Matthew MacDonald

"Pro WPF with VB 2008: Windows Presentation Foundation with .NET 3.5"

RowDefinitions>












Width="3" VerticalAlignment="Stretch" HorizontalAlignment="Center"
ShowsPreview="False">


nTip To create a successful GridSplitter, make sure you supply values for the VerticalAlignment,
HorizontalAlignment, and Width (or Height) properties.
This markup includes one additional detail. When the GridSplitter is declared, the
ShowsPreview property is set to False. As a result, when the splitter bar is dragged from one
side to another, the columns are resized immediately. But if you set ShowsPreview to True,
when you drag you??™ll see a gray shadow follow your mouse pointer to show you where the split
will be. The columns won??™t be resized until you release the mouse button.


Pages:
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234