Class RadCardViewElement
Represents the main element of RadCardView.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadCardViewElement : RadListViewElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IDataItemSource
Constructors
RadCardViewElement()
Declaration
public RadCardViewElement()
Properties
CardTemplate
Gets the RadLayoutControl used as a card template.
Declaration
public RadLayoutControl CardTemplate { get; }
Property Value
RadLayoutControl
|
ViewType
Declaration
public override ListViewType ViewType { get; set; }
Property Value
ListViewType
|
Overrides
Methods
BeginEdit()
Begins an edit operation over the currently selected item.
Declaration
public override bool BeginEdit()
Returns
System.Boolean
[true] if success, [false] otherwise |
Overrides
CloseCustomizeDialog()
Closes the RadCardViewCustomizeDialog and puts the selected item out of customize mode.
Declaration
public void CloseCustomizeDialog()
CreateViewElement()
Creates a view element for the current CardView.
Declaration
protected override BaseListViewElement CreateViewElement()
Returns
BaseListViewElement
The view element. |
Overrides
InitializeEditor(BaseListViewVisualItem, ISupportInitialize, IInputEditor)
Initializes the editor.
Declaration
protected override void InitializeEditor(BaseListViewVisualItem visualItem, ISupportInitialize initializable, IInputEditor editor)
Parameters
BaseListViewVisualItem
visualItem
The visual item. |
System.ComponentModel.ISupportInitialize
initializable
The initializable. |
IInputEditor
editor
The editor. |
Overrides
OnCardViewItemCreating(CardViewItemCreatingEventArgs)
Declaration
protected virtual void OnCardViewItemCreating(CardViewItemCreatingEventArgs args)
Parameters
CardViewItemCreatingEventArgs
args
|
OnCardViewItemFormatting(CardViewItemFormattingEventArgs)
Declaration
protected virtual void OnCardViewItemFormatting(CardViewItemFormattingEventArgs args)
Parameters
CardViewItemFormattingEventArgs
args
|
OnLoaded()
Called when the element has been successfully loaded. That includes loading of all its children as well.
Declaration
protected override void OnLoaded()
Overrides
SetSelectedItemValue(ListViewItemValueChangingEventArgs, Object)
Sets the selected item value.
Declaration
protected override void SetSelectedItemValue(ListViewItemValueChangingEventArgs valueChangingArgs, object newValue)
Parameters
ListViewItemValueChangingEventArgs
valueChangingArgs
The ListViewItemValueChangingEventArgs instance containing the event data. |
System.Object
newValue
The new value. |
Overrides
ShowCustomizeDialog()
Shows the RadCardViewCustomizeDialog of CardTemplate and puts the selected item in customize mode.
Declaration
public void ShowCustomizeDialog()
Events
CardViewItemCreating
Occurs when a new LayoutControlItemBase is created in CardListViewVisualItem
Declaration
public event CardViewItemCreatingEventHandler CardViewItemCreating
Event Type
CardViewItemCreatingEventHandler
|
CardViewItemFormatting
Occurs when a LayoutControlItemBase needs to be formatted.
Declaration
public event CardViewItemFormattingEventHandler CardViewItemFormatting
Event Type
CardViewItemFormattingEventHandler
|