Class RadPanorama
Represent a panoramic view control that can display and arrange tiles in grouped or ungrouped manner.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[TelerikToolboxCategory("Containers")]
public class RadPanorama : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
RadPanorama()
Declaration
public RadPanorama()
Properties
AllowDragDrop
Gets or sets a value indicating whether reordering of tiles via drag and drop is allowed.
Declaration
public bool AllowDragDrop { get; set; }
Property Value
System.Boolean
|
AutoArrangeNewTiles
Gets or sets a value that indicates whether the newly added tiles should be automatically arranged.
Declaration
public bool AutoArrangeNewTiles { get; set; }
Property Value
System.Boolean
|
AutoSize
Gets or sets whether the edit control is auto-sized
Declaration
public override bool AutoSize { get; set; }
Property Value
System.Boolean
|
Overrides
CellSize
Gets or sets the size of a single cell.
Declaration
public Size CellSize { get; set; }
Property Value
System.Drawing.Size
|
ColumnsCount
Gets or sets the current number of columns.
Declaration
public int ColumnsCount { get; set; }
Property Value
System.Int32
|
DefaultSize
Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size
|
EnableZooming
Enables or Disables the build in zoom functionality
Declaration
public bool EnableZooming { get; set; }
Property Value
System.Boolean
|
ForeColor
RadPanorama consists of multiple visual elements and separate settings are provided to customize their appearance. Current ForeColor property might be ignored.
Declaration
public override Color ForeColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
Groups
Gets a collection of TileGroupElement objects that represent the tiles that are displayed.
Declaration
public RadItemOwnerCollection Groups { get; }
Property Value
RadItemOwnerCollection
|
Items
Gets a collection of RadTileElement objects that represent the tiles that are displayed.
Declaration
public RadItemOwnerCollection Items { get; }
Property Value
RadItemOwnerCollection
|
MinimumColumns
Gets or sets the minimum number of columns that the view can be reduced to.
Declaration
public int MinimumColumns { get; set; }
Property Value
System.Int32
|
MouseWheelBehavior
Gets or sets the way that RadPanorama should handle mouse wheel input.
Declaration
public PanoramaMouseWheelBehavior MouseWheelBehavior { get; set; }
Property Value
PanoramaMouseWheelBehavior
|
MouseWheelScrollStep
Gets or sets the step size that is used, when scrolling with the mouse wheel.
Declaration
public int MouseWheelScrollStep { get; set; }
Property Value
System.Int32
|
PanelImage
Gets or sets the image that is displayed in the background.
Declaration
public Image PanelImage { get; set; }
Property Value
System.Drawing.Image
|
PanelImageSize
Gets or sets the size of the image that is displayed in the background.
Declaration
public Size PanelImageSize { get; set; }
Property Value
System.Drawing.Size
|
PanoramaElement
Gets the RadPanoramaElement that represents the main element of the control.
Declaration
public RadPanoramaElement PanoramaElement { get; }
Property Value
RadPanoramaElement
|
RowsCount
Gets or sets the number of rows.
Declaration
public int RowsCount { get; set; }
Property Value
System.Int32
|
ScrollBarAlignment
Gets or sets the position on which the scrollbar should be aligned.
Declaration
public HorizontalScrollAlignment ScrollBarAlignment { get; set; }
Property Value
HorizontalScrollAlignment
|
ScrollBarThickness
Gets or sets the thickness of the scrollbar.
Declaration
public int ScrollBarThickness { get; set; }
Property Value
System.Int32
|
ScrollingBackground
Gets or sets a value indicating whether the background image should be scrolled along with the tiles.
Declaration
public bool ScrollingBackground { get; set; }
Property Value
System.Boolean
|
ShowGroups
Gets or sets a value indicating whether the groups or the items should be displayed.
Declaration
public bool ShowGroups { get; set; }
Property Value
System.Boolean
|
Text
This property is not relevant for this class.
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
XmlSerializationInfo
Gets the serialization info for RadPanorama 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
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
|
Overrides
CreatePanoramaElement()
Creates the main element of the control.
Declaration
protected virtual RadPanoramaElement CreatePanoramaElement()
Returns
RadPanoramaElement
The created element. |
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Overrides
GetDefaultXmlSerializationInfo()
Gets the default serialization info for RadPanorama used by Save/Load layout methods to persist the layout to/from XML.
Declaration
protected virtual ComponentXmlSerializationInfo GetDefaultXmlSerializationInfo()
Returns
ComponentXmlSerializationInfo
The default serialization info. |
LoadLayout(Stream)
Loads RadPanorama's layout state from XML file, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void LoadLayout(Stream stream)
Parameters
System.IO.Stream
stream
The stream to read from. |
LoadLayout(String)
Loads RadPanorama's layout state from XML file, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void LoadLayout(string fileName)
Parameters
System.String
fileName
The file to read from. |
LoadLayout(XmlReader)
Loads RadPanorama's layout state from XML file, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void LoadLayout(XmlReader xmlReader)
Parameters
System.Xml.XmlReader
xmlReader
The XmlReader to read the XML from. |
OnLoad(Size)
Declaration
protected override void OnLoad(Size desiredSize)
Parameters
System.Drawing.Size
desiredSize
|
Overrides
ResetBackColorThemeOverrides()
Declaration
protected override void ResetBackColorThemeOverrides()
Overrides
SaveLayout(Stream)
Stores RadPanorama's layout state in XML format, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void SaveLayout(Stream stream)
Parameters
System.IO.Stream
stream
The stream to write to. |
SaveLayout(String)
Stores RadPanorama's layout state in XML format, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void SaveLayout(string fileName)
Parameters
System.String
fileName
The file to write to. |
SaveLayout(XmlWriter)
Stores RadPanorama's layout state in XML format, using the serialization information provided by the XmlSerializationInfo property.
Declaration
public virtual void SaveLayout(XmlWriter xmlWriter)
Parameters
System.Xml.XmlWriter
xmlWriter
XmlWriter to use by the built-in serializer |
Select()
Declaration
public void Select()
SetBackColorThemeOverrides()
Declaration
protected override void SetBackColorThemeOverrides()