Axiom.Overlays.OverlayElement.VerticalAlignmentAttributeCommand.Set C# (CSharp) Метод

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

Sets the value for this command on the target object.
public Set ( object target, string val ) : void
target object
val string
Результат void
			public void Set( object target, string val )
			{
				var element = target as OverlayElement;
				if ( element != null )
				{
					element.VerticalAlignment = (VerticalAlignment)ScriptEnumAttribute.Lookup( val, typeof( VerticalAlignment ) );
				}
			}
OverlayElement.VerticalAlignmentAttributeCommand