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