Class CardViewItem
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class CardViewItem : LayoutControlItemBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, ICardViewBoundItem
Constructors
CardViewItem()
Declaration
public CardViewItem()
Properties
CardField
Gets the card field.
Declaration
public ListViewDetailColumn CardField { get; protected set; }
Property Value
ListViewDetailColumn
|
Implements
EditorItem
Gets the editor label item.
Declaration
public CardViewEditorItem EditorItem { get; }
Property Value
CardViewEditorItem
|
FieldName
Gets or sets the name of field associated with this item.
Declaration
public string FieldName { get; set; }
Property Value
System.String
|
Implements
TextFixedSize
Gets or sets the fixed size of the text part which will be used when TextSizeMode is set to fixed.
Declaration
public int TextFixedSize { get; set; }
Property Value
System.Int32
|
TextMaxSize
Gets or sets the maximum size of the text part.
Declaration
public int TextMaxSize { get; set; }
Property Value
System.Int32
|
TextMinSize
Gets or sets the minimum size of the text part.
Declaration
public int TextMinSize { get; set; }
Property Value
System.Int32
|
TextPosition
Gets or sets the position of the text of the item.
Declaration
public virtual LayoutItemTextPosition TextPosition { get; set; }
Property Value
LayoutItemTextPosition
|
TextProportionalSize
Gets or sets the proportional size of the text part which will be used when TextSizeMode is set to proportional.
Declaration
public float TextProportionalSize { get; set; }
Property Value
System.Single
|
TextSizeMode
Gets or sets the way in which the text part will be sized - proportionally or fixed-size.
Declaration
public LayoutItemTextSizeMode TextSizeMode { get; set; }
Property Value
LayoutItemTextSizeMode
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateEditorItem()
GetAlignedEditorRectangle(Rectangle)
Declaration
protected virtual Rectangle GetAlignedEditorRectangle(Rectangle editorArrangeRect)
Parameters
System.Drawing.Rectangle
editorArrangeRect
|
Returns
System.Drawing.Rectangle
|
GetEditorItemRectangle(RectangleF)
Gets the rectangle in which the editor will be arranged.
Declaration
protected virtual Rectangle GetEditorItemRectangle(RectangleF clientRect)
Parameters
System.Drawing.RectangleF
clientRect
The client area of the item. |
Returns
System.Drawing.Rectangle
The arrange rectangle of the editor. |
GetEditorSize(SizeF)
Declaration
protected virtual RectangleF GetEditorSize(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.RectangleF
|
GetTextRectangle(RectangleF)
Gets the rectangle in which the text part will be arranged.
Declaration
protected virtual RectangleF GetTextRectangle(RectangleF clientRect)
Parameters
System.Drawing.RectangleF
clientRect
The client area of the item. |
Returns
System.Drawing.RectangleF
The arrange rectangle of the text part. |
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnColumnPropertyChanged(Object, PropertyChangedEventArgs)
Declaration
protected virtual void OnColumnPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.Object
sender
|
System.ComponentModel.PropertyChangedEventArgs
e
|
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Declaration
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
SetCardField(ListViewDetailColumn)
This method is used internally!
Declaration
public void SetCardField(ListViewDetailColumn column)
Parameters
ListViewDetailColumn
column
|