XCore.PaneBarContainer.OnLayout C# (CSharp) Method

OnLayout() protected method

make Width always match parent Width
protected OnLayout ( LayoutEventArgs levent ) : void
levent LayoutEventArgs
return void
		protected override void OnLayout(LayoutEventArgs levent)
		{
			if (Parent != null && Width != Parent.Width)
			{
				Width = Parent.Width;
			}

			base.OnLayout (levent);
		}