Spread Windows Forms 9.0 Product Documentation
Parent Property (ActionMap)
Example 


Gets or sets the parent action map (ActionMap object) of this action map.
Syntax
'Declaration
 
Public Property Parent As ActionMap
'Usage
 
Dim instance As ActionMap
Dim value As ActionMap
 
instance.Parent = value
 
value = instance.Parent
public ActionMap Parent {get; set;}

Property Value

Parent ActionMap
Example
This example returns the parent for the keys in the map.
FarPoint.Win.Spread.ActionMap map, parent;
map = fpSpread1.GetActionMap();
object[] keys = map.AllKeys();
parent = map.Parent;
foreach (object key in keys)
{
       listBox1.Items.Add(parent.Get(key).ToString());;
}
Dim map, parent As FarPoint.Win.Spread.ActionMap
map = FpSpread1.GetActionMap()
Dim keys As Object() = map.AllKeys()
Dim key As Object
parent = map.Parent
For Each key In keys
       ListBox1.Items.Add(parent.Get(key).ToString())
Next
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ActionMap Class
ActionMap Members

 

 


Copyright © GrapeCity, inc. All rights reserved.