Class PseudoGroup
PseudoGroup is a logical container for selection list nodes, its children are not positioned relative to it. It is used to improve selection list handles render speed. To enable this feature You should set View.EnableSelectionListSubstitute flag to true.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public sealed class PseudoGroup : Group, IUnitIndependent, IDispatchNodeEvents, ISerializable, INode, ICloneable, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, IServiceProvider, IGraphNode, IDeserializationCallback, IDisposable, ICompositeNode, IZOrderContainer
Constructors
PseudoGroup(NodeCollection)
Initializes a new instance of the PseudoGroup class.
Declaration
public PseudoGroup(NodeCollection nodes)
Parameters
Type | Name | Description |
---|---|---|
NodeCollection | nodes | The nodes. |
PseudoGroup(PseudoGroup)
Initializes a new instance of the PseudoGroup class.
Declaration
public PseudoGroup(PseudoGroup src)
Parameters
Type | Name | Description |
---|---|---|
PseudoGroup | src | The SRC. |
Methods
ChangeFlipX(Boolean)
Called after changing the flipX value.
Declaration
protected override void ChangeFlipX(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | New flip x value. |
Overrides
ChangeFlipY(Boolean)
Called after changing the flipY value.
Declaration
protected override void ChangeFlipY(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | New flip y value. |
Overrides
ChangeRotationBy(Single)
Called after change the rotation by give angle.
Declaration
protected override void ChangeRotationBy(float fRotationChange)
Parameters
Type | Name | Description |
---|---|---|
System.Single | fRotationChange | The rotation angle offset. |
Overrides
Clone()
Clones this instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | The cloned object. |
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
DoMoveRelatedActions(Single, Single)
Performs additional changes on pin position changed.
Declaration
protected override void DoMoveRelatedActions(float fX, float fY)
Parameters
Type | Name | Description |
---|---|---|
System.Single | fX | The pin offset by x axis. |
System.Single | fY | The pin offset by y axis. |
Overrides
DoPinOffsetRelatedActions(SizeF, SizeF)
Performs additional changes on pin offset value changed.
Declaration
protected override void DoPinOffsetRelatedActions(SizeF szOldPinOffset, SizeF szNewPinOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.SizeF | szOldPinOffset | The old pin offset value. |
System.Drawing.SizeF | szNewPinOffset | The new pin offset value. |
Overrides
DoSizeRelatedActions(SizeF, SizeF)
Used to update child nodes sizes.
Declaration
protected override void DoSizeRelatedActions(SizeF szOldSize, SizeF szNewSize)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.SizeF | szOldSize | Old size value. |
System.Drawing.SizeF | szNewSize | New size value. |
Overrides
GetBoundingRect(NodeCollection)
Gets the bounding rect in local coordinates.
Declaration
protected override RectangleF GetBoundingRect(NodeCollection nodes)
Parameters
Type | Name | Description |
---|---|---|
NodeCollection | nodes | The nodes. |
Returns
Type | Description |
---|---|
System.Drawing.RectangleF | The bounding rect. |
Overrides
PrepareGraphics(Graphics)
Prepares the graphics to draw.
Declaration
protected override void PrepareGraphics(Graphics gfx)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfx | Graphics to draw on. |
Overrides
Refresh()
Refresh the instance.
Declaration
public void Refresh()
RenderCachedImage(Graphics)
Renders the cached image.
Declaration
protected override void RenderCachedImage(Graphics gfx)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfx | Graphics to draw on. |
Overrides
RenderChildren(Graphics)
Renders the children.
Declaration
protected override void RenderChildren(Graphics gfx)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfx | Graphics to draw on. |
Overrides
SetPinPoint(PointF, MeasureUnits)
Set the pin point position.
Declaration
protected override void SetPinPoint(PointF ptValue, MeasureUnits unit)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | ptValue | The pin position. |
MeasureUnits | unit | The measure unit. |
Overrides
UpdateBoundingRectangle()
Updates the bounding rectangle.
Declaration
protected override void UpdateBoundingRectangle()
Overrides
UpdateChildrenParents()
Updates the children parents.
Declaration
protected override void UpdateChildrenParents()
Overrides
UpdateReferences(IServiceReferenceProvider)
Updates the references.
Declaration
public override void UpdateReferences(IServiceReferenceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IServiceReferenceProvider | provider | The provider. |
Overrides
UpdateRefreshRect()
Updates node's refresh rect
Declaration
protected override void UpdateRefreshRect()
Overrides
Remarks
Uncludes all contiguous data like ports, labels etc.