Kayıtlar

Kasım, 2012 tarihine ait yayınlar gösteriliyor

Silverlight GridSplitter Kontrol

This article is compatible with the latest version of Silverlight. Introduction To use the  GridSplitter  you should be familiar with the  Grid  control. It is a control that allows the user to resize dynamically the width or height of the  Grid  cells. See also: Grid Article Overview The following example demonstrates how to use the  GridSplitter : We want to have two cells whose width can be redistributed. The blue line can be moved left or right when clicking on it, holding the mouse button and dragging. Thus the neighbor cells can be resized. The XAML code: < UserControl      xmlns : basics ="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"        x : Class ="GridSplitter2.Page"      xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation"      xmlns : x ="http://schemas.microsoft.com/winfx/2006/xaml"      Width ="400"  Height ="300">      < Grid  x