Class ImageColumnConfigurationModel
Image column information
Inheritance
System.Object
ImageColumnConfigurationModel
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.UI.GridView
Assembly: Simplic.UI.dll
Syntax
public class ImageColumnConfigurationModel : IDivergentColumnType
Properties
| Improve this Doc View SourceImageHeight
Defines the hight of an image
Declaration
public double ImageHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ImageWidth
Defines the width of the image
Declaration
public double ImageWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
IsEnabledMemberPath
Member-Path of the isenabled property in the viewmodel
Declaration
public string IsEnabledMemberPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceBuild(ColumnConfigurationModel, GridViewControl)
Build a custom image column based on the current configuration
Declaration
public GridViewBoundColumnBase Build(ColumnConfigurationModel column, GridViewControl grid)
Parameters
Type | Name | Description |
---|---|---|
ColumnConfigurationModel | column | Current column configuration |
GridViewControl | grid | Grid instance |
Returns
Type | Description |
---|---|
GridViewBoundColumnBase | Null if the default column should be used, else some custom column based on the Telerik GridViewBoundColumnBase |
OnCellControlCreated(FrameworkElement)
On cell control created.
Declaration
public void OnCellControlCreated(FrameworkElement control)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.FrameworkElement | control | Control instance |
Events
| Improve this Doc View SourceCellControlCreated
Will be called when a new cell control is created.
Declaration
public event CellControlCreatedEventHandler CellControlCreated
Event Type
Type | Description |
---|---|
CellControlCreatedEventHandler |