Gets the image settings (stretching, alignment etc...) to paint images in
Cells.
Namespace: Dapfor.Net.UiAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
| C# |
|---|
public ImageSettings CellImageSettings { get; set; } |
| Visual Basic |
|---|
Public Property CellImageSettings As ImageSettings
Get
Set |
| Visual C++ |
|---|
public:
property ImageSettings^ CellImageSettings {
ImageSettings^ get ();
void set (ImageSettings^ value);
} |
| F# |
|---|
member CellImageSettings : ImageSettings with get, set
|
Property Value
Type:
ImageSettingsThe image settings.
Examples
| | Copy |
|---|
public void CellImage(Grid grid)
{
grid.Headers[0]["Price"].Appearance.CellImageSettings.Alignment = ContentAlignment.MiddleLeft;
Product product = new Product();
grid.Rows.Add(product);
Row row = grid.Rows[0];
Bitmap image = new Bitmap("Image.ico");
row["Price"].Image = image;
} |
See Also