Esempio n. 1
0
 /// <summary>
 /// Initializes the <see cref="BitmapCell"/> class.
 /// </summary>
 /// <remarks>
 /// Static constructor for the <see cref="BitmapCell"/> class.
 /// </remarks>
 static BitmapCell()
 {
     middleLeftAlign = new BitmapCell(false);
     middleLeftAlign.BitmapCellAlignment = ContentAlignment.MiddleLeft;
     middleLeftAlign.AlignTextToImage    = true;
     middleLeftAlign.TextAlignment       = ContentAlignment.MiddleLeft;
     middleLeftAlign.MakeReadOnly();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes the <see cref="BitmapCell"/> class.
 /// </summary>
 /// <remarks>
 /// Static constructor for the <see cref="BitmapCell"/> class.
 /// </remarks>
 static BitmapCell()
 {
     middleLeftAlign = new BitmapCell(false);
       middleLeftAlign.BitmapCellAlignment = ContentAlignment.MiddleLeft;
       middleLeftAlign.AlignTextToImage = true;
       middleLeftAlign.TextAlignment = ContentAlignment.MiddleLeft;
       middleLeftAlign.MakeReadOnly();
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BitmapCell"/> class.
 /// </summary>
 /// <param name="sourceCell">The source cell.</param>
 /// <param name="isReadOnly">if set to <c>true</c> is read only.</param>
 /// <remarks>
 /// Copy Constructor. This method duplicates all reference fields to create a new instance.
 /// </remarks>
 public BitmapCell(BitmapCell sourceCell, bool isReadOnly)
     : base(sourceCell, isReadOnly)
 {
     this.imageAlignment = sourceCell.imageAlignment;
     ExpandedCell        = false;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BitmapCell"/> class.
 /// </summary>
 /// <param name="sourceCell">The source cell.</param>
 /// <param name="isReadOnly">if set to <c>true</c> is read only.</param>
 /// <remarks>
 /// Copy Constructor. This method duplicates all reference fields to create a new instance.
 /// </remarks>
 public BitmapCell(BitmapCell sourceCell, bool isReadOnly)
     : base(sourceCell, isReadOnly)
 {
     this.imageAlignment = sourceCell.imageAlignment;
       ExpandedCell = false;
 }