Axiom.Samples.SdkTrayManager.ClearTray C# (CSharp) Метод

ClearTray() публичный Метод

Removes all widgets from a widget tray.
public ClearTray ( TrayLocation trayLoc ) : void
trayLoc TrayLocation
Результат void
		public void ClearTray( TrayLocation trayLoc )
		{
			if ( trayLoc == TrayLocation.None )
				return;      // can't clear the null tray

			while ( !( mWidgets[ (int)trayLoc ].Count == 0 ) )  // remove every widget from given tray
			{
				RemoveWidgetFromTray( mWidgets[ (int)trayLoc ][ 0 ] );
			}
		}