SIL.FieldWorks.Common.Framework.DetailControls.Slice.Slice.OnLayout C# (CSharp) Méthode

OnLayout() protected méthode

If we don't have a splitter (because no label), set the width of the tree node directly; the other node's size is set by being docked 'fill'.
protected OnLayout ( LayoutEventArgs levent ) : void
levent LayoutEventArgs
Résultat void
		protected override void OnLayout(LayoutEventArgs levent)
		{
			CheckDisposed();

			if (SplitCont.Panel2Collapsed)
				TreeNode.Width = LabelIndent();

			base.OnLayout(levent);
		}