Class SFTreeMap
SFTreeMap provides a simple but effective way to visualize flat or hierarchical data as clustered rectangles with a specific weighted attribute determining the size of the rectangle.
Inheritance
Implements
Namespace: Syncfusion.SfTreeMap.iOS
Assembly: Syncfusion.SfTreeMap.iOS.dll
Syntax
public class SFTreeMap : UIView, IComponent, IDisposable
Constructors
SFTreeMap()
Initializes a new instance of the SFTreeMap class.
Declaration
public SFTreeMap()
SFTreeMap(CGRect)
Initializes a new instance of the SFTreeMap class.
Declaration
public SFTreeMap(CGRect frame)
Parameters
| Type | Name | Description |
|---|---|---|
| CoreGraphics.CGRect | frame | To set frame |
SFTreeMap(IntPtr)
Initializes a new instance of theSFTreeMap class.
Declaration
public SFTreeMap(IntPtr handle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | handle | The handle |
Properties
Bounds
Gets or sets bounds
Declaration
public override CGRect Bounds { get; set; }
Property Value
| Type |
|---|
| CoreGraphics.CGRect |
ColorValuePath
Gets or sets the color value path
Declaration
public NSString ColorValuePath { get; set; }
Property Value
| Type |
|---|
| Foundation.NSString |
DataSource
Gets or sets the datasource
Declaration
public object DataSource { get; set; }
Property Value
| Type |
|---|
| System.Object |
Delegate
Gets or sets the delegate.
Declaration
public SFTreeMapDelegate Delegate { get; set; }
Property Value
| Type |
|---|
| SFTreeMapDelegate |
DrilldownHeaderStyle
Gets or sets the drilldown header style.
Declaration
public SFStyle DrilldownHeaderStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| SFStyle | The drilldown header style. |
EnableDrilldown
Gets or sets a value indicating whether to drill down the treemap or not.
Declaration
public bool EnableDrilldown { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Frame
Represents the frame
Declaration
public override CGRect Frame { get; set; }
Property Value
| Type |
|---|
| CoreGraphics.CGRect |
GroupColorMapping
Gets or sets the group color mapping.
Declaration
public NSMutableArray GroupColorMapping { get; set; }
Property Value
| Type |
|---|
| Foundation.NSMutableArray |
HighlightBorderWidth
Gets or sets the width of the selection border.
Declaration
public nfloat HighlightBorderWidth { get; set; }
Property Value
| Type |
|---|
| System.nfloat |
HighlightColor
Gets or sets the color of the selection.
Declaration
public UIColor HighlightColor { get; set; }
Property Value
| Type |
|---|
| UIKit.UIColor |
HightlightOnSelection
Gets or sets a value indicating whether this SFTreeMap hightlight on selection.
Declaration
public bool HightlightOnSelection { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Items
Gets or sets the items
Declaration
public NSMutableArray Items { get; set; }
Property Value
| Type |
|---|
| Foundation.NSMutableArray |
LayoutType
Gets or sets layout type
Declaration
public SFTreeMapLayoutType LayoutType { get; set; }
Property Value
| Type |
|---|
| SFTreeMapLayoutType |
LeafItemColorMapping
Gets or sets the leaf item color mapping
Declaration
public SFColorMapping LeafItemColorMapping { get; set; }
Property Value
| Type |
|---|
| SFColorMapping |
LeafItemSettings
Gets or sets the leaf item settings
Declaration
public SFLeafItemSetting LeafItemSettings { get; set; }
Property Value
| Type |
|---|
| SFLeafItemSetting |
LegendSettings
Gets or sets the legend settings
Declaration
public SFLegendSetting LegendSettings { get; set; }
Property Value
| Type |
|---|
| SFLegendSetting |
Levels
Gets or sets the collection of treemap levels
Declaration
public ObservableCollection<SFTreeMapLevel> Levels { get; set; }
Property Value
| Type |
|---|
| System.Collections.ObjectModel.ObservableCollection<SFTreeMapLevel> |
ShowTooltip
Gets or sets a value indicating whether this SFTreeMap show tooltip.
Declaration
public bool ShowTooltip { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Site
Gets or sets to site.
Declaration
public ISite Site { get; set; }
Property Value
| Type |
|---|
| System.ComponentModel.ISite |
TooltipSettings
Gets or sets the tooltip settings for the treemap control.
Declaration
public TooltipSetting TooltipSettings { get; set; }
Property Value
| Type |
|---|
| TooltipSetting |
WeightValuePath
Gets or sets the weight value path
Declaration
public NSString WeightValuePath { get; set; }
Property Value
| Type |
|---|
| Foundation.NSString |
Methods
AwakeFromNib()
This method used for designer
Declaration
public override void AwakeFromNib()
LayoutSubviews()
This method is called when layout changes
Declaration
public override void LayoutSubviews()
MovedToSuperview()
This method is called when frame changed
Declaration
public override void MovedToSuperview()
Refresh()
This method is used to refresh the control
Declaration
public void Refresh()
Events
Disposed
Interface implemented by component
Declaration
public event EventHandler Disposed
Event Type
| Type |
|---|
| System.EventHandler |
ItemSelected
Event for treemap selected.
Declaration
public event EventHandler<TreeMapItemSelectedEventArgs> ItemSelected
Event Type
| Type |
|---|
| System.EventHandler<TreeMapItemSelectedEventArgs> |