Class CardListViewElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class CardListViewElement : IconListViewElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
CardListViewElement(RadListViewElement)
Declaration
public CardListViewElement(RadListViewElement owner)
Parameters
RadListViewElement
owner
|
Properties
AllowArbitraryItemHeight
Gets or sets a value indicating whether the items can have different height.
Declaration
public override bool AllowArbitraryItemHeight { get; set; }
Property Value
System.Boolean
|
Overrides
AllowArbitraryItemWidth
Gets or sets a value indicating whether the items can have different width.
Declaration
public override bool AllowArbitraryItemWidth { get; set; }
Property Value
System.Boolean
|
Overrides
BoundItems
Declaration
protected IDictionary<string, string> BoundItems { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
|
CardTemplate
Gets the layout control used as a template for all displayed cards.
Declaration
public RadLayoutControl CardTemplate { get; }
Property Value
RadLayoutControl
|
CardViewElement
Gets the card view element.
Declaration
public RadCardViewElement CardViewElement { get; }
Property Value
RadCardViewElement
The card view element. |
CollapsedGroupsDictionary
Declaration
protected IDictionary<ListViewDataItem, List<string>> CollapsedGroupsDictionary { get; }
Property Value
System.Collections.Generic.IDictionary<ListViewDataItem, System.Collections.Generic.List<System.String>>
|
DropDownMenu
Gets or sets the context menu.
Declaration
public RadDropDownMenu DropDownMenu { get; set; }
Property Value
RadDropDownMenu
|
ItemSize
Gets or sets the default item size.
Declaration
public override Size ItemSize { get; set; }
Property Value
System.Drawing.Size
|
Overrides
ItemSynchronizationProperties
Gets the item synchronization properties.
Declaration
public static IList<RadProperty> ItemSynchronizationProperties { get; }
Property Value
System.Collections.Generic.IList<RadProperty>
The item synchronization properties. |
XmlSerializationInfo
Gets the serialization info for RadLayoutControl used by Save/Load layout methods to persist the layout to/from XML. By default or when set to null the ComponentXmlSerializationInfo provided by GetDefaultXmlSerializationInfo() will be used.
Declaration
public ComponentXmlSerializationInfo XmlSerializationInfo { get; set; }
Property Value
ComponentXmlSerializationInfo
|
Methods
AreCardFieldsSame()
Declaration
protected virtual bool AreCardFieldsSame()
Returns
System.Boolean
|
CloseCustomizeDialog()
Closes the customize dialog.
Declaration
public void CloseCustomizeDialog()
CompareContainers(CardViewContainerElement, CardListViewVisualItem)
Synchronizes given CardViewContainerElement to the container of CardTemplate.
Declaration
protected virtual void CompareContainers(CardViewContainerElement cardViewContainer, CardListViewVisualItem visualItem)
Parameters
CardViewContainerElement
cardViewContainer
The given container. |
CardListViewVisualItem
visualItem
The visual item that owns the container. |
CompareItems(RadItemCollection, RadItemCollection, CardListViewVisualItem)
Declaration
protected virtual void CompareItems(RadItemCollection layoutContainerItems, RadItemCollection cardViewContainerItems, CardListViewVisualItem visualItem)
Parameters
RadItemCollection
layoutContainerItems
|
RadItemCollection
cardViewContainerItems
|
CardListViewVisualItem
visualItem
|
CreateCardViewItem(CardViewItem)
Declaration
protected virtual CardViewItem CreateCardViewItem(CardViewItem originalItem)
Parameters
CardViewItem
originalItem
|
Returns
CardViewItem
|
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateElementProvider()
Declaration
protected override IVirtualizedElementProvider<ListViewDataItem> CreateElementProvider()
Returns
IVirtualizedElementProvider<ListViewDataItem>
|
Overrides
CreateGroupItem(LayoutControlGroupItem, CardListViewVisualItem)
Declaration
protected virtual LayoutControlGroupItem CreateGroupItem(LayoutControlGroupItem originalItem, CardListViewVisualItem visualItem)
Parameters
LayoutControlGroupItem
originalItem
|
CardListViewVisualItem
visualItem
|
Returns
LayoutControlGroupItem
|
CreateLabelItem(LayoutControlLabelItem)
Declaration
protected virtual LayoutControlLabelItem CreateLabelItem(LayoutControlLabelItem originalItem)
Parameters
LayoutControlLabelItem
originalItem
|
Returns
LayoutControlLabelItem
|
CreateNewItem(LayoutControlItemBase, CardListViewVisualItem)
Declaration
protected virtual LayoutControlItemBase CreateNewItem(LayoutControlItemBase originalItem, CardListViewVisualItem visualItem)
Parameters
LayoutControlItemBase
originalItem
|
CardListViewVisualItem
visualItem
|
Returns
LayoutControlItemBase
|
CreateSeparatorItem(LayoutControlSeparatorItem)
Declaration
protected virtual LayoutControlSeparatorItem CreateSeparatorItem(LayoutControlSeparatorItem originalItem)
Parameters
LayoutControlSeparatorItem
originalItem
|
Returns
LayoutControlSeparatorItem
|
CreateSplitterItem(LayoutControlSplitterItem)
Declaration
protected virtual LayoutControlSplitterItem CreateSplitterItem(LayoutControlSplitterItem originalItem)
Parameters
LayoutControlSplitterItem
originalItem
|
Returns
LayoutControlSplitterItem
|
CreateTabbedGroup(LayoutControlTabbedGroup, CardListViewVisualItem)
Declaration
protected virtual LayoutControlTabbedGroup CreateTabbedGroup(LayoutControlTabbedGroup originalItem, CardListViewVisualItem visualItem)
Parameters
LayoutControlTabbedGroup
originalItem
|
CardListViewVisualItem
visualItem
|
Returns
LayoutControlTabbedGroup
|
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
GetAllChildItems(RadItemCollection)
Gets all child items.
Declaration
public virtual List<LayoutControlItemBase> GetAllChildItems(RadItemCollection items)
Parameters
RadItemCollection
items
The items. |
Returns
System.Collections.Generic.List<LayoutControlItemBase>
|
GetDefaultXmlSerializationInfo()
Gets the default serialization info for RadLayoutControl used by Save/Load layout methods to persist the layout to/from XML.
Declaration
protected virtual ComponentXmlSerializationInfo GetDefaultXmlSerializationInfo()
Returns
ComponentXmlSerializationInfo
The default serialization info. |
GetFieldNames()
Gets the field names.
Declaration
public Dictionary<string, Type> GetFieldNames()
Returns
System.Collections.Generic.Dictionary<System.String, System.Type>
|
InitializeDropDownMenu()
Initializes the items of the default context menu.
Declaration
protected virtual void InitializeDropDownMenu()
LoadCardTemplateLayout(Stream)
Loads CardTemplate's layout state from XML file, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void LoadCardTemplateLayout(Stream stream)
Parameters
System.IO.Stream
stream
The stream to read from. |
LoadCardTemplateLayout(String)
Loads CardTemplate's layout state from XML file, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void LoadCardTemplateLayout(string fileName)
Parameters
System.String
fileName
The file to read from. |
LoadCardTemplateLayout(XmlReader)
Loads CardTemplate's layout state from XML file, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void LoadCardTemplateLayout(XmlReader xmlReader)
Parameters
System.Xml.XmlReader
xmlReader
The XmlReader to read the XML from. |
OnLoaded()
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
ResetCardTemplate()
Declaration
protected virtual void ResetCardTemplate()
SaveCardTemplateLayout(Stream)
Stores CardTemplate's layout state in XML format, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void SaveCardTemplateLayout(Stream stream)
Parameters
System.IO.Stream
stream
The stream to write to. |
SaveCardTemplateLayout(String)
Stores CardTemplate's layout state in XML format, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void SaveCardTemplateLayout(string fileName)
Parameters
System.String
fileName
The file to write to. |
SaveCardTemplateLayout(XmlWriter)
Stores CardTemplate's layout state in XML format, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void SaveCardTemplateLayout(XmlWriter xmlWriter)
Parameters
System.Xml.XmlWriter
xmlWriter
XmlWriter to use by the built-in serializer |
ShowCustomizeDialog()
Shows the customize dialog.
Declaration
public void ShowCustomizeDialog()
SynchronizeItemProperties(LayoutControlItemBase, LayoutControlItemBase)
Declaration
protected virtual void SynchronizeItemProperties(LayoutControlItemBase originalItem, LayoutControlItemBase item)
Parameters
LayoutControlItemBase
originalItem
|
LayoutControlItemBase
item
|
UpdateItemProperties(LayoutControlItemBase, LayoutControlItemBase, CardListViewVisualItem)
Updates item bounds and synchronizes properties.
Declaration
protected virtual void UpdateItemProperties(LayoutControlItemBase originalItem, LayoutControlItemBase item, CardListViewVisualItem visualItem)
Parameters
LayoutControlItemBase
originalItem
|
LayoutControlItemBase
item
|
CardListViewVisualItem
visualItem
|
UpdateItemsLayout()
Updates the items layout.
Declaration
public virtual void UpdateItemsLayout()