public static void SetAlign(Object obj, ToolbarAlign aln) { if (_attachedPart == null) { _attachedPart = new Dictionary <Object, ToolbarAlign>(); } AttachedHelpers.SetAttached(_attachedPart, obj, aln); }
public static string GetName(ToolbarAlign type) { string result = String.Empty; switch (type) { case ToolbarAlign.Left: result = "start"; break; case ToolbarAlign.Right: result = "end"; break; case ToolbarAlign.Center: result = "center"; break; } return result; }
public static string GetName(ToolbarAlign type) { string result = String.Empty; switch (type) { case ToolbarAlign.Left: result = "start"; break; case ToolbarAlign.Right: result = "end"; break; case ToolbarAlign.Center: result = "center"; break; } return(result); }