Interface IRuleCollection<TRule>
Defines a collection of style rules
Inherited Members
Namespace: OSGeo.MapGuide.ObjectModels.LayerDefinition
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public interface IRuleCollection<TRule> : IRuleCollection
Type Parameters
| Name | Description |
|---|---|
| TRule | The type of the rule. |
Methods
| Improve this Doc View SourceGetRuleAt(Int32)
Gets the rule at the specified index
Declaration
TRule GetRuleAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | The index. |
Returns
| Type | Description |
|---|---|
| TRule |
IndexOfRule(TRule)
Gets the index of the specified rule
Declaration
int IndexOfRule(TRule rule)
Parameters
| Type | Name | Description |
|---|---|---|
| TRule | rule |
Returns
| Type | Description |
|---|---|
| System.Int32 |
MoveDown(TRule)
Moves the specified rule down the list
Declaration
bool MoveDown(TRule rule)
Parameters
| Type | Name | Description |
|---|---|---|
| TRule | rule | The rule. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
MoveUp(TRule)
Moves the specified rule up the list
Declaration
bool MoveUp(TRule rule)
Parameters
| Type | Name | Description |
|---|---|---|
| TRule | rule | The rule. |
Returns
| Type | Description |
|---|---|
| System.Boolean |