Nevron .NET Vision
Nevron.Diagram Namespace / NWinFormControlHostPrimitive Class
Properties Methods Events


In This Topic
    NWinFormControlHostPrimitive Class Members
    In This Topic

    The following tables list the members exposed by NWinFormControlHostPrimitive.

    Public Constructors
     NameDescription
    Public ConstructorInitializer constructor  
    Top
    Public Properties
     NameDescription
    Public PropertyGets/sets the bounds of the node (in scene coordinates) (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the node center (in scene coordinates) (Inherited from Nevron.Diagram.NModel)
    Public PropertySpecifies whether the inplace edit control created for the hosted control must be deactivated when the control looses focus. By default set to true.  
    Public PropertyGets/sets the end point (in scene coordinates) (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the node height (in scene coordinates) (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the id of the element (Inherited from Nevron.Diagram.NDiagramElement)
    Public PropertyGets/sets the node location (top left corner of the bounds, in scene coordinates) (Inherited from Nevron.Diagram.NModel)
    Public PropertySpecifies the mode in which the text is displayed (Inherited from Nevron.Diagram.NBoxPrimitive)
    Public PropertyGets/sets the end point of the model (in model coordinates) (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the model height (in model coordinates) (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the pin point in model coordinates (Inherited from Nevron.Diagram.NModel)
    Public PropertyControls the box model bounds (Inherited from Nevron.Diagram.NBoxPrimitive)
    Public PropertyGets/sets the start point of the model (in model coordinates) (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the model width (in model coordinates) (Inherited from Nevron.Diagram.NModel)
    Public PropertyUser defined name of the element (Inherited from Nevron.Diagram.NDiagramElement)
    Public PropertyGets/sets the pin alignment relative to the model bounds (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the pin point in scene coordinate (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the element protection (Inherited from Nevron.Diagram.NDiagramElement)
    Public PropertyGets/sets the model resize behavior when it resides in an aggregate model (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the start point (in scene coordinates) (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the local style of the element (can be null) (Inherited from Nevron.Diagram.NStyleableElement)
    Public PropertyGets/sets the name of the stylesheet, from which this element can inherit styles (Inherited from Nevron.Diagram.NStyleableElement)
    Public PropertyUser defined data associated with the element (Inherited from Nevron.Diagram.NDiagramElement)
    Public PropertyGets/sets the unique id of the element (Inherited from Nevron.Diagram.NDiagramElement)
    Public PropertyControls the visibility of the model (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the node width (in scene coordinates) (Inherited from Nevron.Diagram.NModel)
    Public PropertyGets/sets the ZOrder of the node (Inherited from Nevron.Diagram.NDiagramNode)
    Top
    Public Methods
     NameDescription
    Public MethodBrings the node one position forward in the Z order (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodBrings the node to front position in the Z order (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodDetermines whether the node is not already at front position (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodDetermines whether the model can be painted in the specified context (Inherited from Nevron.Diagram.NModel)
    Public MethodDetermines whether the node is not already at back position (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodOverridden. Overriden  
    Public MethodCreates an identical copy of the element, which differs only by the element unique id (Inherited from Nevron.Diagram.NDiagramElement)
    Public MethodComposes the animations style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the bridge style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the end arrowhead style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the fill style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the interactivity style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the shadow style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the start arrowhead style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes the stroke style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodComposes a new style, which contains cloning of the composes styles (Inherited from Nevron.Diagram.NStyleComposerElement)
    Public MethodComposes the text style (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodCalled when the measurement unit of the measurements stored in this node have changed and all measurements must be converted to the new unit (Inherited from Nevron.Diagram.NModel)
    Public Method (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodCreates an inplace edit control. This implementation creates a surrogate control  
    Public MethodCreates a shape, which wraps a cloning of the primitive model (Inherited from Nevron.Diagram.NPrimitiveModel)
    Public MethodDefines the model bounds of the text (Inherited from Nevron.Diagram.NBoxPrimitive)
    Public MethodDisposes all resources usef by this node  
    Public MethodFastly transforms the element (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodFastly translates the element (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodFlips the element horizontally around the specified pin in the specifed coordinate system (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodFlips the element vertically around the specified pin in the specifed coordinate system (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodGets the attribute from its name (Inherited from Nevron.Diagram.NDiagramElement)
    Public MethodGets the name of the specified local attribute (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodGets the estimated direction of the specified end point to reach the specified start point (Inherited from Nevron.Diagram.NModel)
    Public MethodObtains the location of a point along the model length, which corresponds to the specified percent (in scene coordinates) (Inherited from Nevron.Diagram.NModel)
    Public MethodObtains the tangent angle (in radians) along the model length, which corresponds to the specified percent (Inherited from Nevron.Diagram.NModel)
    Public MethodGets the nearest intersection point of the model contour with the vector defined by the specified start and end points (Inherited from Nevron.Diagram.NModel)
    Public MethodGets the nearest intersection point of the rotated bounds with the vector defined by the specified start and end points (Inherited from Nevron.Diagram.NModel)
    Public MethodObtains the reference provider to which the object is currently attached (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodGets the estimated direction of the specified start point to reach the specified end point (Inherited from Nevron.Diagram.NModel)
    Public MethodOverloaded. Hit tests the node by point with the specified context (Inherited from Nevron.Diagram.NBoxPrimitive)
    Public MethodInvalidates the node (Inherited from Nevron.Diagram.NBoxPrimitive)
    Public MethodDetermines whether the aggregate model in which this model can reside is collapsed (Inherited from Nevron.Diagram.NModel)
    Public MethodDetermines whether the model is collapsed - either locally or because it resides in a collapsed ancestor. (Inherited from Nevron.Diagram.NModel)
    Public MethodDetermines whether the specified character is an input charecter (Inherited from Nevron.Diagram.NModel)
    Public MethodDetermines whether the specified key is an input key (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when the transformaiton of the specified ancestor has changed (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodCalled when the transformaiton of the specified ancestor is changing (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodCalled by attributes when an attribute has changed (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodCalled by attributes when an attribute property has changed (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodCalled by the attributes when an attribute property is changing (Inherited from Nevron.Diagram.NStyleableElement)
    Public MethodCalled when the user clicked on the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when the user double clicked on the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when a dragged object is dropped in the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when a dragged object entered the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when a dragged object leaves the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when a dragged object is moved over the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled to perform a history action (Inherited from Nevron.Diagram.NModel)
    Public MethodHandles the key down event (Inherited from Nevron.Diagram.NModel)
    Public MethodHandles the key press event (Inherited from Nevron.Diagram.NModel)
    Public MethodHandles the key up event (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when a mouse button is down in the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when the mouse entered the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when the mouse hovers in the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when the mouse leaves the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when the mouse moves in the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when a mouse button is up in the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when a mouse wheel was moved in the model (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when the history has modified the object state (Inherited from Nevron.Diagram.NModel)
    Public MethodCalled when the history is about to modify the object state (Inherited from Nevron.Diagram.NModel)
    Public MethodOverridden. Overriden to paint the control  
    Public MethodCalled to provide a reference to the object of the specified type (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodReplaces any foreign unique ids (references to other nodes) (Inherited from Nevron.Diagram.NDiagramElement)
    Public MethodRepositions (translates) the shape so that the pin point is moved to the specified position (Inherited from Nevron.Diagram.NModel)
    Public MethodReverses the model (Inherited from Nevron.Diagram.NModel)
    Public MethodRotates the element around the specified pin in the specifed coordinate system (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodScales the element around the specified pin in the specifed coordinate system (Inherited from Nevron.Diagram.NTransformableElement)
    Public MethodOverriden to scale the model definition of the box (Inherited from Nevron.Diagram.NBoxPrimitive)
    Public MethodSends the node one position backward in the Z order (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodSends the node to back position in the Z order (Inherited from Nevron.Diagram.NDiagramNode)
    Public MethodSets a child or descendant attribute by its name (Inherited from Nevron.Diagram.NDiagramElement)
    Public MethodSets the bounds of the model to the newly specified bounds by applying scale and translate transformations on the model bounds. (Inherited from Nevron.Diagram.NModel)
    Public MethodOverriden to return the element name (Inherited from Nevron.Diagram.NDiagramElement)
    Public MethodOverloaded. Translates the node with the specified offset (Inherited from Nevron.Diagram.NTransformableElement)
    Public Method (Inherited from Nevron.Diagram.NStyleableElement)
    Public Method (Inherited from Nevron.Diagram.NModel)
    Top
    Protected Methods
     NameDescription
    Protected MethodCommits the current transaction (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodOverloaded. Computes the scene bounds of the model based on an expected new local transformation (Inherited from Nevron.Diagram.NModel)
    Protected MethodComputes new scene bounds based on expected model bounds change (Inherited from Nevron.Diagram.NBoxPrimitive)
    Protected MethodCalled by the NStyleable element contructor to create the default style (Inherited from Nevron.Diagram.NStyleableElement)
    Protected MethodDisposes the hosted control bitmap  
    Protected MethodCalled by verb commands to execute the specified verb (Inherited from Nevron.Diagram.NDiagramElement)
    Protected Method  
    Protected MethodResumes the history service. Pair it with the StartProperty method. (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodObtains the default value for the specified property (Inherited from Nevron.Diagram.NModel)
    Protected MethodObtains text paint info in world coordinates (Inherited from Nevron.Diagram.NBoxPrimitive)
    Protected MethodInvalidates the scene cashe. Overriden to invalidate the cashed scene bounds (Inherited from Nevron.Diagram.NModel)
    Protected MethodLoads the control from a state string  
    Protected MethodMeasures the dirty inflate of the text if it is going to be displayed with the specified text style (Inherited from Nevron.Diagram.NBoxPrimitive)
    Protected MethodMeasures the specified length in device units (i.e. pixels) (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified length in world units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified size in pixels in scene units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified pixels X size in scene units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified pixels Y size in scene units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified size in world units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified string in device units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified string in scene units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodMeasures the specified string in world units (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodDetermines whether the model must be hit tested. A model does not need to be hit tested, if it is not visible or is collapsed. (Inherited from Nevron.Diagram.NModel)
    Protected MethodCalled when the bounds of the model have changed (Inherited from Nevron.Diagram.NModel)
    Protected MethodCalled when the bounds of the model are about to change (Inherited from Nevron.Diagram.NModel)
    Protected MethodCalled when the bounds of the model have changed (Inherited from Nevron.Diagram.NModel)
    Protected MethodCalled when the model bounds of the model are about to change (Inherited from Nevron.Diagram.NModel)
    Protected MethodGeneral property changed handler, which fires the NodePropertyChanged event (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodGeneral property changing handler, which fires the NodePropertyChanging event (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodCalled when the transformation of the node has changed (Inherited from Nevron.Diagram.NModel)
    Protected MethodCalled when the transformation of the node is about to change (Inherited from Nevron.Diagram.NModel)
    Protected MethodPaints the hosted control  
    Protected MethodSafely pauses the event sink service to which this node is connected (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodSafely pauses the history service (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodSafely pauses the smart paint service to which this node is connected (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodRecords an action (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodRecords the model definition (Inherited from Nevron.Diagram.NModel)
    Protected MethodSafely records a custom operation in the history service to which the element is connected (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodRecords the state of the specified property before it is changed (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodOverloaded. Records the entire state of the node (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodSafely resumes the event sink service to which this node is connected (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodSafely resumes the history service (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodSafely resumes the smart paint service to which this node is connected (Inherited from Nevron.Diagram.NDiagramNode)
    Protected MethodRolls back the current transaction (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodSaves control to a state string  
    Protected MethodRecords the state of the specified property before it is changed and pauses the history service. Pair it with the EndProperty method. (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodStarts a new transaction (Inherited from Nevron.Diagram.NDiagramElement)
    Protected MethodUpdates the node references to services (Inherited from Nevron.Diagram.NDiagramElement)
    Top
    Public Events
     NameDescription
    Public EventAttribute changed event (Inherited from Nevron.Diagram.NDiagramNode)
    Public EventAttribute property changed event (Inherited from Nevron.Diagram.NDiagramNode)
    Public EventAttribute property changing event (Inherited from Nevron.Diagram.NDiagramNode)
    Public EventBounds changed event (Inherited from Nevron.Diagram.NModel)
    Public EventBounds changing event (Inherited from Nevron.Diagram.NModel)
    Public EventClick event (Inherited from Nevron.Diagram.NModel)
    Public EventDouble click event (Inherited from Nevron.Diagram.NModel)
    Public EventDrag drop event (Inherited from Nevron.Diagram.NModel)
    Public EventDrag enter event (Inherited from Nevron.Diagram.NModel)
    Public EventDrag leave event (Inherited from Nevron.Diagram.NModel)
    Public EventDrag over event (Inherited from Nevron.Diagram.NModel)
    Public EventKey down event (Inherited from Nevron.Diagram.NModel)
    Public EventKey press event (Inherited from Nevron.Diagram.NModel)
    Public EventKey up event (Inherited from Nevron.Diagram.NModel)
    Public EventMouse button down event (Inherited from Nevron.Diagram.NModel)
    Public EventMouse enter event (Inherited from Nevron.Diagram.NModel)
    Public EventMouse hover event (Inherited from Nevron.Diagram.NModel)
    Public EventMouse leave event (Inherited from Nevron.Diagram.NModel)
    Public EventMouse move event (Inherited from Nevron.Diagram.NModel)
    Public EventMouse button up event (Inherited from Nevron.Diagram.NModel)
    Public EventMouse wheel event (Inherited from Nevron.Diagram.NModel)
    Public EventProperty changed event (Inherited from Nevron.Diagram.NDiagramNode)
    Public EventProperty changing event (Inherited from Nevron.Diagram.NDiagramNode)
    Public EventTransform changed event (Inherited from Nevron.Diagram.NTransformableElement)
    Public EventTransform changing event (Inherited from Nevron.Diagram.NTransformableElement)
    Top
    See Also