ComponentOne DynamicHelp for WinForms
C1.Win.C1DynamicHelp.4.5.2 Assembly / C1.Win.C1DynamicHelp Namespace / C1DynamicHelp Class / TopicMap Property

In This Topic
    TopicMap Property
    In This Topic
    A dictionary that maps UI elements to MapItem objects.
    Syntax
    'Declaration
     
    Public ReadOnly Property TopicMap As TopicMap
    public TopicMap TopicMap {get;}
    Remarks

    A MapItem object specifies a help topic to display and a user action that causes the display (control getting focus, mouse hovering). This dictionary can be created at design time and persisted as part of the form (called static mappings), or at run-time (using the controls authoring mode) and persisted as an XML file (called dynamic mappings).

    This property enables you to obtain a reference to the topic map items that are currently stored in the C1DynamicHelp. With this reference, you can add items, remove items, and obtain a count of the items in the collection. The TopicMap class has members that allow users to check whether the map has changed since it was created and to persist the map to and from XML.

    See Also