Share via


GeometrySource.InvalidateGeometry Method

Notifies that the geometry has been invalidated because of external changes.

Namespace: Microsoft.Expression.Media
Assembly: Microsoft.Expression.Drawing (in microsoft.expression.drawing.dll)

Syntax

'Declaration
Public Function InvalidateGeometry ( _
    reasons As InvalidateGeometryReasons _
) As Boolean
'Usage
Dim instance As GeometrySource(Of TParameters)
Dim reasons As InvalidateGeometryReasons
Dim returnValue As Boolean

returnValue = instance.InvalidateGeometry(reasons)
public bool InvalidateGeometry (
    InvalidateGeometryReasons reasons
)
public:
virtual bool InvalidateGeometry (
    InvalidateGeometryReasons reasons
) sealed
public final boolean InvalidateGeometry (
    InvalidateGeometryReasons reasons
)
public final function InvalidateGeometry (
    reasons : InvalidateGeometryReasons
) : boolean

Remarks

The geometry is typically invalidated when parameters are changed. If any geometry has been invalidated externally, the geometry will be recomputed regardless if the layout bounds change.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

GeometrySource Generic Class
GeometrySource Members
Microsoft.Expression.Media Namespace