示例#1
0
 public static void SetAlign(Object obj, ToolbarAlign aln)
 {
     if (_attachedPart == null)
     {
         _attachedPart = new Dictionary <Object, ToolbarAlign>();
     }
     AttachedHelpers.SetAttached(_attachedPart, obj, aln);
 }
示例#2
0
 public static void SetSkip(Object obj, Boolean skip)
 {
     if (_attachedSkip == null)
     {
         _attachedSkip = new Dictionary <Object, Boolean>();
     }
     AttachedHelpers.SetAttached(_attachedSkip, obj, skip);
 }
示例#3
0
 public static void SetMinWidth(Object obj, Length width)
 {
     if (_attachedMinWidths == null)
     {
         _attachedMinWidths = new Dictionary <Object, Length>();
     }
     AttachedHelpers.SetAttached(_attachedMinWidths, obj, width);
 }
示例#4
0
 public static void SetFill(Object obj, Boolean fill)
 {
     if (_attachedFill == null)
     {
         _attachedFill = new Dictionary <Object, Boolean>();
     }
     AttachedHelpers.SetAttached(_attachedFill, obj, fill);
 }
示例#5
0
 public static void SetVAlign(Object obj, AlignItem vAlign)
 {
     if (_attachedVAlign == null)
     {
         _attachedVAlign = new Dictionary <Object, AlignItem>();
     }
     AttachedHelpers.SetAttached(_attachedVAlign, obj, vAlign);
 }
示例#6
0
 public static void SetRowSpan(Object obj, Int32 span)
 {
     if (_attachedRowSpan == null)
     {
         _attachedRowSpan = new Dictionary <Object, Int32>();
     }
     AttachedHelpers.SetAttached(_attachedRowSpan, obj, span);
 }
示例#7
0
 public static void SetRow(Object obj, Int32 row)
 {
     if (_attachedRow == null)
     {
         _attachedRow = new Dictionary <Object, Int32>();
     }
     AttachedHelpers.SetAttached(_attachedRow, obj, row);
 }
示例#8
0
 public static void SetCol(Object obj, Int32 col)
 {
     if (_attachedColumn == null)
     {
         _attachedColumn = new Dictionary <Object, Int32>();
     }
     AttachedHelpers.SetAttached(_attachedColumn, obj, col);
 }