Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Eto.Forms.ImageTextCell"/> class when binding to an indexed-based data item.
 /// </summary>
 /// <param name="imageColumn">Index of the image column in the data item.</param>
 /// <param name="textColumn">Index of the text column in the data item.</param>
 public ImageTextCell(int imageColumn, int textColumn)
 {
     ImageBinding = new ColumnBinding <Image>(imageColumn);
     TextBinding  = new ColumnBinding <string>(textColumn);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Eto.Forms.CheckBoxCell"/> class.
 /// </summary>
 /// <param name="column">Index of the column to bind to.</param>
 public CheckBoxCell(int column)
     : this()
 {
     Binding = new ColumnBinding <bool?>(column);
 }
Exemplo n.º 3
0
 public ImageViewCell(int column)
     : this()
 {
     Binding = new ColumnBinding(column);
 }
Exemplo n.º 4
0
 public ImageTextCell(int imageColumn, int textColumn)
     : this()
 {
     ImageBinding = new ColumnBinding(imageColumn);
     TextBinding  = new ColumnBinding(textColumn);
 }
Exemplo n.º 5
0
 public ComboBoxCell(int column)
     : this()
 {
     Binding = new ColumnBinding(column);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Eto.Forms.ImageViewCell"/> class when binding to an indexed-based data item.
 /// </summary>
 /// <param name="column">Index of the column the image is in each data item.</param>
 public ImageViewCell(int column)
 {
     Binding = new ColumnBinding <Image>(column);
 }
Exemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Eto.Forms.TextBoxCell"/> class binding to the specified <paramref name="column"/>.
 /// </summary>
 /// <param name="column">Column in the data source to get/set the data.</param>
 public TextBoxCell(int column)
 {
     Binding = new ColumnBinding <string>(column);
 }