GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGroup Class / ChildNames Property
In This Topic
    ChildNames Property
    In This Topic
    Gets a Dictionary of name/child mappings in both directions.
    Syntax
    public Dictionary<object,object> ChildNames {get;}

    Property Value

    A Dictionary, but will be null/nothing until you call AddChildName.
    Remarks

    The dictionary should contain mappings in both directions-- from String name to child GoObject, and the reverse, from object to name. In order to save space, overrides of FindName and FindChild will handle common child names rather than using a hash table data structure. For example, GoBasicNode provides the name "Label" for its GoText part that is the value of its Label property.

    To modify this hash table, call AddChildName, RemoveChildName(String), or RemoveChildName(GoObject). If you modify this dictionary directly, such changes are not recorded by the undo manager.

    See Also