BCGControlBar Library for .NET
SDManager Class Members
Fields  Properties  Methods 


The following tables list the members exposed by SDManager.

Public Constructors
 NameDescription
Public ConstructorSDManager Constructor  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)m_centralGroupSizeSpecifies the size of the rectangle where markers of such types as CentralUp, CenralLeft, CentralDown, CentralRight are located. The default value is 88 x 88 pixels.  
Public Fieldstatic (Shared in Visual Basic)MarkerGrayPercentageSpecifies the percentage of "grey" color on the disabled markers.  
Public Fieldstatic (Shared in Visual Basic)MarkerTransparencyKeySpecifies the transparency of the disabled markers.  
Public Fieldstatic (Shared in Visual Basic)SDMangerTypeReturns a type of the object of SDManager class.  
Top
Public Properties
 NameDescription
Public PropertyIsInitializedSpecifies if the smart docking markers were created and images were loaded.  
Top
Public Methods
 NameDescription
Public MethodClearImages  
Public MethodCreateCalled by the framework on creation new instance of the SDManager . In this function smart markers collection is created and specified images are loaded for them.  
Public MethodDisposeOverloaded.   
Public MethodGetImageReturns the bitmap image from the collections of markers' images  for the specified marker type and state. Called by the framework on painting SDMarker.  
Public Methodstatic (Shared in Visual Basic)GetInstance

Gets the SDManager  of current instance. If the instance of  the current SDManager is null reference, than the new SDManager instance will be created.

 
Public MethodGrayImagesCalled by the framework on setting images for smart docking marker. This function makes the images from the specified collection disabled.  
Public MethodHideMarkersCalled by the framework on tracking any control with smart docking marker and on end of the tracking. Makes smart docking markers invisible and set them into the normal state.  
Public Methodstatic (Shared in Visual Basic)IsOuterEdgeMarkerTypeCalled by the framework on smart tracking to define if the tracking control should be docked to the outer edge of the parent form.  It means that the selected marker has a SDMarkerType Left, Right, Up or Down. It is used for calculation of the docking rectangle.  
Public MethodMarkerFromPointCalled by the framework to specify the current active marker on smart tracking of the control. Gets the smart docking marker which boundaries contain current mouse position.  
Public Methodstatic (Shared in Visual Basic)SDMarkerTypeToDockStyleCalled by the framework on smart tracking to define the expected DockStyle of the tracking control in accordance with the type of the active marker. Returns the dockstyle related to the type of marker.  
Public MethodSetImagesSets collections of images for smart docking markers.  
Public MethodSetMarkersStateCalled by the framework to set or unset disabled state for marker of specified type during smart tracking.  
Public MethodShowMarkersCalled by the framework on smart tracking. Calculates the location of smart docking markers.  
Top
See Also

Reference

SDManager Class
BCGSoft.ControlBars Namespace

Send Feedback