Interface IWidgetSet
Represents a flexible layout's widget set. This is analogous to a Command Set in a Web Layout
Namespace: OSGeo.MapGuide.ObjectModels.ApplicationDefinition
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public interface IWidgetSet
Properties
| Improve this Doc View SourceContainerCount
The number of widget containers
Declaration
int ContainerCount { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Containers
The list of widget containers
Declaration
IEnumerable<IWidgetContainer> Containers { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<IWidgetContainer> |
MapWidget
Gets the designated map widget
Declaration
IMapWidget MapWidget { get; }
Property Value
| Type | Description |
|---|---|
| IMapWidget |
WidgetCount
Gets the total number of widgets in this widget set
Declaration
int WidgetCount { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Widgets
Gets the list of widgets
Declaration
IEnumerable<IWidget> Widgets { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<IWidget> |
Methods
| Improve this Doc View SourceAddContainer(IWidgetContainer)
Adds a widget container
Declaration
void AddContainer(IWidgetContainer container)
Parameters
| Type | Name | Description |
|---|---|---|
| IWidgetContainer | container |
AddWidget(IWidget)
Adds a widget
Declaration
void AddWidget(IWidget widget)
Parameters
| Type | Name | Description |
|---|---|---|
| IWidget | widget |
RemoveContainer(IWidgetContainer)
Removes the given widget container
Declaration
void RemoveContainer(IWidgetContainer container)
Parameters
| Type | Name | Description |
|---|---|---|
| IWidgetContainer | container |
RemoveWidget(IWidget)
Removes the specified widget
Declaration
void RemoveWidget(IWidget widget)
Parameters
| Type | Name | Description |
|---|---|---|
| IWidget | widget |