Infragistics(R) NetAdvantage(R) WPF
SetProperty Method
See Also  E-mail your feedback on this topic.
Infragistics.Controls.Maps Namespace > MapElement Class : SetProperty Method

name
value

Glossary Item Box

Sets an Element regular or custom property.

Syntax

Visual Basic (Declaration) 
Public Function SetProperty( _
   ByVal name As String, _
   ByVal value As Object _
) As Boolean
C# 
public bool SetProperty( 
   string name,
   object value
)

Parameters

name
value

Return Value

true if the property value was set

Remarks

There are two kinds of Element properties, a fixed set of regular properties with have a type a getter and a setter and arbitrary custom properties. If this method is used to access a regular property, the type is verified and the setter called. Null is a valid value for custom properties - RemoveCustomProperty() is the only way to remove a property from an Element.

See Also