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

SetWidthForDataTreeLayout() protected méthode

This is used to control the width of the slice when the data tree is being laid out. Any earlier width set is meaningless. Some slices can avoid doing a lot of work by ignoring earlier OnSizeChanged messages.
protected SetWidthForDataTreeLayout ( int width ) : void
width int
Résultat void
		protected internal virtual void SetWidthForDataTreeLayout(int width)
		{
			CheckDisposed();

			if (Width != width)
				Width = width;

			m_widthHasBeenSetByDataTree = true;
			m_splitter.Size = Size;
			SplitContainer sc = SplitCont;
			sc.SplitterMoved -= mySplitterMoved;
			if (!sc.IsSplitterFixed)
				sc.SplitterMoved += mySplitterMoved;
		}