Axiom.Overlays.Elements.TextArea.HorizontalAlignmentAttributeCommand.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 TextArea;
				if ( element != null )
				{
					element.TextAlign = (HorizontalAlignment)ScriptEnumAttribute.Lookup( val, typeof( HorizontalAlignment ) );
				}
			}
TextArea.HorizontalAlignmentAttributeCommand