Class GridViewImageColumn
GridViewImageColumn provides an easy and fast way to display image. The column automatically creates Image based on DataMemberBinding property.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class GridViewImageColumn : GridViewBoundColumnBase, IFilterableColumn, INotifyPropertyChanged, IColumnElement, IDataFieldDescriptor, IFieldDescriptor, IExportableColumn
Constructors
GridViewImageColumn()
Initializes a new instance of the GridViewImageColumn class.
Declaration
public GridViewImageColumn()
Fields
ImageHeightProperty
Identify the ImageHeight dependency property.
Declaration
public static readonly DependencyProperty ImageHeightProperty
Field Value
System.Windows.DependencyProperty
|
ImageStretchProperty
Identify the ImageStretch dependency property.
Declaration
public static readonly DependencyProperty ImageStretchProperty
Field Value
System.Windows.DependencyProperty
|
ImageWidthProperty
Identify the ImageWidth dependency property.
Declaration
public static readonly DependencyProperty ImageWidthProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ErrorImageSource
Gets or sets the error image source.
Declaration
public Uri ErrorImageSource { get; set; }
Property Value
System.Uri
The error image source. |
ImageHeight
Gets or sets height for the image. This is a dependency property.
Declaration
public double ImageHeight { get; set; }
Property Value
System.Double
The image height. |
ImageStretch
Gets or sets stretch for the image. This is a dependency property.
Declaration
public Stretch ImageStretch { get; set; }
Property Value
System.Windows.Media.Stretch
The image stretch. |
ImageWidth
Gets or sets width for the image. This is a dependency property.
Declaration
public double ImageWidth { get; set; }
Property Value
System.Double
The image width. |
Methods
CanEdit(Object)
Determines whether the data represented by the column can be edited.
Declaration
public override bool CanEdit(object item)
Parameters
System.Object
item
|
Returns
System.Boolean
|
Overrides
CanSort()
Determines whether the data represented by the column can be sorted.
Declaration
public override bool CanSort()
Returns
System.Boolean
|
Overrides
CopyPropertiesFrom(GridViewColumn)
Copy properties from source column.
Declaration
public override void CopyPropertiesFrom(GridViewColumn source)
Parameters
GridViewColumn
source
|
Overrides
CreateCellElement(GridViewCell, Object)
Creates the element for the cell in view mode.
Declaration
public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem)
Parameters
GridViewCell
cell
|
System.Object
dataItem
|
Returns
System.Windows.FrameworkElement
|
Overrides
OnDataMemberBindingChanged()
Called when DataMemberBinding was changed.
Declaration
protected override void OnDataMemberBindingChanged()