ArcFM Server Developer Guide
SelectElement(FrameworkElement,Boolean,Func<SnapToGridAttributes>,Action<SnapToGridStateChangedEventArgs>,SolidColorBrush,Canvas,Boolean) Method


The element.
Resize the element is allowed if true.
SnapToGrid callback Func
SnapToGrid callback Action
Color for the dashed line that connects the adorner resize handles
The canvas.
if set to true [multi sel].
Selects the element.
Syntax
'Declaration
 
Public Overloads Shared Sub SelectElement( _
   ByVal element As FrameworkElement, _
   ByVal allowResize As Boolean, _
   ByVal getSnapToGridAttributes As Func(Of SnapToGridAttributes), _
   ByVal invokeSnapToGridStateChanged As Action(Of SnapToGridStateChangedEventArgs), _
   ByVal adornerDashedLineColor As SolidColorBrush, _
   Optional ByVal canvas As Canvas, _
   Optional ByVal multiSel As Boolean _
) 
'Usage
 
Dim element As FrameworkElement
Dim allowResize As Boolean
Dim getSnapToGridAttributes As Func(Of SnapToGridAttributes)
Dim invokeSnapToGridStateChanged As Action(Of SnapToGridStateChangedEventArgs)
Dim adornerDashedLineColor As SolidColorBrush
Dim canvas As Canvas
Dim multiSel As Boolean
 
ElementCanvasExtensions.SelectElement(element, allowResize, getSnapToGridAttributes, invokeSnapToGridStateChanged, adornerDashedLineColor, canvas, multiSel)

Parameters

element
The element.
allowResize
Resize the element is allowed if true.
getSnapToGridAttributes
SnapToGrid callback Func
invokeSnapToGridStateChanged
SnapToGrid callback Action
adornerDashedLineColor
Color for the dashed line that connects the adorner resize handles
canvas
The canvas.
multiSel
if set to true [multi sel].
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ElementCanvasExtensions Class
ElementCanvasExtensions Members
Overload List

 

 


Send Comment