Name | Description | |
---|---|---|
NShape Constructor | Default constructor. |
The following tables list the members exposed by NShape.
Name | Description | |
---|---|---|
NShape Constructor | Default constructor. |
Name | Description | |
---|---|---|
AllowChangeAspectRatioProperty | Reference to the AllowChangeAspectRatio property | |
AllowChangeBeginPointProperty | Reference to the AllowChangeBeginPoint property | |
AllowChangeEndPointProperty | Reference to the AllowChangeEndPoint property | |
AllowChangePinPointProperty | Reference to the AllowChangePinPoint property | |
AllowFormatProperty | Reference to the AllowFormat property | |
AllowGeometryEditProperty | Reference to the AllowGeometryEdit property | |
AllowInplaceEditProperty | Reference to the AllowInplaceEdit property | |
AllowLayoutsReglueBeginPointProperty | Reference to the AllowLayoutsReglueBeginPoint property. | |
AllowLayoutsReglueEndPointProperty | Reference to the AllowLayoutsReglueEndPoint property. | |
AllowMoveXProperty | Reference to the AllowMoveX property | |
AllowMoveYProperty | Reference to the AllowMoveY property | |
AllowResizeXProperty | Reference to the AllowResizeX property | |
AllowResizeYProperty | Reference to the AllowResizeY property | |
AllowRotateProperty | Reference to the AllowRotate property | |
AllowUpdateBoundsProperty | Reference to the AllowUpdateBounds property | |
AngleProperty | Reference to the Angle property | |
BeginPointChangedEvent | Reference to the BeginPointChanged event | |
BeginPointGlueChangedEvent | Reference to the BeginPointGlueChanged event | |
BeginPointGlueChild | Reference to the BeginPoint property. | |
BeginXProperty | Reference to the BeginX property | |
BeginYProperty | Reference to the BeginY property | |
BuildContextRibbonGroupEvent | Reference to the BuildContextRibbonGroup event. | |
CanSplitProperty | Reference CanSplit property. | |
CodeBehindSourceProperty | Reference to the CodeBehind property | |
ColorThemeIdProperty | Reference to the ColorThemeId property. | |
ConnectorThemeIdProperty | Reference to the ConnectorThemeId property. | |
ControlsChangedEvent | Reference to the controls changed event | |
ControlsChild | Reference to the Controls child. | |
DefaultShapeGlueProperty | Reference to the DefaultShapeGlue property | |
EditHeightIn1DProperty | Reference to the EditHeightIn1D property | |
EndPointChangedEvent | Reference to the EndPointChanged event | |
EndPointGlueChangedEvent | Reference to the EndPointGlueChanged event | |
EndPointGlueChild | Reference to the EndGlue property. | |
EndXProperty | Reference to the EndX property | |
EndYProperty | Reference to the EndY property | |
FlipXProperty | Reference to the FlipX property | |
FlipYProperty | Reference to the FlipY property | |
FontThemeIdProperty | Reference to the FontThemeId property. | |
GeometryChangedEvent | Reference to the geometries changed event | |
GeometryChild | Reference to the Geometry child. | |
GraphPartProperty | Reference to the GraphPart property | |
HeightProperty | Reference to the Height property | |
HorizontalPlacementProperty | Reference to the HorizontalPlacement property. | |
HyperlinkChild | Reference to the Hyperlink child. | |
ImageBlockChild | Reference to the ImageBlock child. | |
LayoutDataChild | Reference to the LayoutData child | |
LocPinRelativeProperty | Reference to the LocPinRelative property | |
LocPinXProperty | Reference to the LocPinX property | |
LocPinYProperty | Reference to the LocPinY property | |
MasterGlueChangedEvent | Reference to the MasterGlueChanged event | |
MasterGlueChild | Reference to the MasterGlue property. | |
MenuItemsChild | Reference to the MenuItems child | |
MoveSlavesProperty | Reference to the MoveSlaves property | |
NShapeSchema | Schema associated with NShape | |
PageTransformChangedEvent | Reference to the page transform changed event | |
PinXProperty | Reference to the PinX property | |
PinYProperty | Reference to the PinY property | |
PortsChangedEvent | Reference to the PortsChanged event | |
PortsChild | Reference to the Ports child. | |
PropertiesChild | Reference to the Properties child | |
QueryAutoConnectButtonContentEvent | Reference to the QueryAutoConnectButtonContent event | |
ResizeInGroupProperty | Reference to the ResizeInGroup property | |
RouteThroughHorizontallyProperty | Reference to the RouteThroughHorizontally property. | |
RouteThroughVerticallyProperty | Reference to the RouteThroughVertically property. | |
ScratchesChild | Reference to the Scratches child | |
ShapeTypeProperty | Reference to the ShapeType property | |
ShowControlHandlesProperty | Reference to the ShowControlHandles property | |
ShowShapeHandlesProperty | Reference to the ShowShapeHandles property | |
SizeChangedEvent | Reference to the size changed event | |
SplittableProperty | Reference Splitable property. | |
StyleChild | Reference to the Style child. | |
StyleThemeIdProperty | Reference to the StyleThemeId property. | |
TextBlockChangedEvent | Reference to the text block changed event | |
TextBlockChild | Reference to the TextBlock child. | |
ThemeIdProperty | Reference to the ThemeId property. | |
TransformChangedEvent | Reference to the transform changed event | |
UserCellsChild | Reference to the UserCells child | |
VariantColorIndexProperty | Reference to the VariantColorIndex property. | |
VariantStyleIndexProperty | Reference to the VariantStyleIndex property. | |
VerticalPlacementProperty | Reference to the VerticalPlacement property. | |
VisibleProperty | Reference to the Visibility property | |
WidgetChild | Reference to the Widget child. | |
WidthProperty | Reference to the Width property |
Name | Description | |
---|---|---|
AllowChangeAspectRatio | Gets or sets whether the user is allowed to change the aspect ratio (Width vs Height) of this shape. | |
AllowChangeBeginPoint | Gets or sets whether the user is allowed to reposition, glue or unglue the begin point of the shape. | |
AllowChangeEndPoint | Gets or sets whether the user is allowed to reposition, glue or unglue the end point of the shape. | |
AllowChangePinPoint | Gets or sets whether the user is allowed to change the pin point of the shape. | |
AllowFormat | Locks the AllowFormatting of a shape so it cannot be changed. | |
AllowGeometryEdit | Gets or sets whether the user is allowed to edit the geometry of this shape, when it is selected. | |
AllowInplaceEdit | Gets or sets whether the user is allowed to inplace edit this shape, when double clicked. | |
AllowLayoutsReglueBeginPoint | Gets or sets whether layouts can reglue the begin point. Applicalbe only if this is a 1D shape. By default set to true. | |
AllowLayoutsReglueEndPoint | Gets or sets whether layouts can reglue the end point. Applicalbe only if this is a 1D shape. By default set to true. | |
AllowMoveX | Gets or sets whether the user is allowed to move the shape horizontally. | |
AllowMoveY | Gets or sets whether the user is allowed to move the shape vertically. | |
AllowResizeX | Gets or sets whether the user is allowed to change the Width of the shape. | |
AllowResizeY | Gets or sets whether the user is allowed to change the Height of the shape. | |
AllowRotate | Gets or sets whether the user is allowed to rotate the shape. | |
AllowUpdateBounds | Gets or sets whether the user is allowed to update the bounds of this shape. This is only applicable to 2D shapes. | |
Angle | Gets or sets the shape angle of rotation | |
BeginPointGlue | Gets or sets the begin glue. Use one of the GlueBeginToXXX() methods for an easier way to glue the begin point. | |
BeginX | Gets or sets the X coordinate of the begin point (in parent coordinates) | |
BeginY | Gets or sets the Y coordinate of the begin point (in parent coordinates) | |
CanGluePoints | Determines whether this shape can glue its end-points (in case a 1D Connector) and its control points. | |
CanSplit | Gets or sets whether the shape can split 1D shapes when dropped on them. The value of this property has no effect if the page interaction Enable1DShapeSplitting property is set to false. | |
CodeBehindSource | Gets or sets the code assembly that defines the code behind object. | |
ColorThemeId | Gets/Sets the ThemeId of the theme whose color palette to use. | |
ConnectorThemeId | Gets/Sets the value of the ConnectorThemeId property. | |
Controls | Gets or sets the control points collection. | |
DefaultShapeGlue | Gets or sets the way in which other shapes begin points by default glue to this shape. By default set to GlueToGeometryContour. | |
EditHeightIn1D | Gets or sets whether it is allowed to edit the height of the shape, when the ShapeType is set to 1D. | |
EndPointGlue | Gets or sets the end glue. Use one of the GlueEndToXXX() methods for an easier way to glue the end point. | |
EndX | Gets or sets the X coordinate of the end point (in parent coordinates) | |
EndY | Gets or sets the Y coordinate of the end point (in parent coordinates) | |
FlipX | Gets or sets whether the shape coordinate system X flipped. | |
FlipY | Gets or sets whether the shape coordinate system Y flipped. | |
FontThemeId | Gets/Sets the value of the FontThemeId property. | |
FromShape | Gets the shape to which the begin point is currently glued to. Returns null, if the begin point is not glued. | |
Geometry | Gets or sets the Geometry of the shape. Creates the geometry if it does not exist. Use the GeometryNoCreate property if you don't want to create it. | |
GeometryNoCreate | Gets the Geometry of this shape without creating it if it does not exist. | |
GraphPart | Gets or sets whether the shape should be threated as a part of the logical graph, which the page represents | |
HasInwardPorts | Determines whether the shape has inward ports | |
HasOutwardPorts | Determines whether the shape has outward ports | |
Height | Gets or sets the shape height | |
HorizontalPlacement | Gets or sets the horizontal placement of the shape within the arrange slot provided by an automatic layout. By default set to Fit. | |
Hyperlink | Gets/Sets the Hyperlink child. | |
ImageBlock | Gets or sets the ImageBlock of the shape. | |
ImageBlockNoCreate | Gets the ImageBlock contained in this shape without creating it. | |
IsBeginPointGlued | Determines whether the begin point is glued. | |
IsConnected1DShape | Gets whether this is a connected 1D shape (i.e. 1D shape whose begin or end point is connected). | |
IsEndPointGlued | Determines whether the end point is glued. | |
IsReflexive | Queries whether this shape is reflexive (e.g. its FromShape is equal to its EndShape) | |
IsVisible | Determines whether the shape is visible in the page. This method returns true if the shape itself is visible, has at least one visible layer (if it is assigned to layers), and if all ancestor groups are visible too. | |
LayoutData | Gets or sets the data that layouts can use when arranging this shape. | |
LocPinRelative | Gets or sets whether the local pin point is positioned relatively to the shape Width and Height. By default true. | |
LocPinX | Gets or sets the local pin point X coordinate (in local or relative local coordinates depending on LocPinRelative), to which the pin point X coordinate is mapped. | |
LocPinY | Gets or sets the local pin point Y coordinate (in local or relative local coordinates depending on LocPinRelative), to which the pin point Y coordinate is mapped. | |
MasterGlue | Gets or sets the master glue. Use the GlueToMaster() methods for an easier way to work with master glue. | |
MasterShape | Gets the shape to which the shape is currently a slave of. Returns null, if the shape is not glued to a master shape. | |
MenuItems | Gets or sets the menu items collection, which defines custom actions that can be executed upon this shape from the shape context menu. | |
MoveSlaves | Gets or sets the shapes that are translated together with this shape. | |
OwnerGroup | Gets the group in which the shape resides, if any | |
PinX | Gets or sets the pin point X coordinate (in parent coordinates) | |
PinY | Gets or sets the pin point Y coordinate (in parent coordinates) | |
Ports | Gets or sets the ports collection. Creates a ports collection if it doesn't exist. Use the PortsNoCreate method if you don't want to create the ports collection. | |
PortsNoCreate | Gets the ports collection without creating it if it doesn't exist. | |
Properties | Gets or sets the shape properties. | |
ResizeInGroup | Gets or sets the shape resize mode, which defines how Nevron updates the shape dimensions and transformation when the user resizes this shape and it is contained in a group. | |
RouteThroughHorizontally | Gets or sets whether routes are allowed to pass trough this shape horizontally. Only applicable if ShapeType is set to Shape2D. By default set to false. | |
RouteThroughVertically | Gets or sets whether routes are allowed to pass trough this shape vertically. Only applicable if ShapeType is set to Shape2D. By default set to false. | |
Scratches | Gets or sets the scratches of the shape. | |
ShapeType | Gets or sets the shape type | |
ShowControlHandles | Gets or sets whether the control points of the shapes are displayed when the shape is selected | |
ShowShapeHandles | Gets or sets whether the shape handles (box Width and Height for 2D shapes and start-end points for 1D shapes) are displayed when the shape is ``. | |
Size | Gets or sets the size of the shape. Internally this property delegates to the Width and Height properties. | |
Splittable | Gets or sets whether the shape is splittable and can be split by 2D shapes dropped on it. The value of this property has no effect if the page interaction Enable1DShapeSplitting property is set to false. | |
Style | Gets/Sets the Style child. | |
StyleThemeId | Gets/Sets the ThemeId of the theme whose style component to use. | |
Text | A shortcut property that gets/sets the shape text. | |
TextBlock | Gets or sets the TextBlock of the shape. | |
TextBlockNoCreate | Gets the TextBlock contained in this shape without creating it. | |
ThemeId | Gets/Sets the value of the ThemeId property. | |
ToShape | Gets the shape to which the end point is currently glued to. Returns null, if the end point is not glued. | |
UserCells | Gets or sets the shape user cells. | |
VariantColorIndex | Gets/Sets the value of the VariantColorIndex property. | |
VariantStyleIndex | Gets/Sets the value of the VariantStyleIndex property. | |
VerticalPlacement | Gets or sets the vertical placement of the shape within the arrange slot provided by an automatic layout. By default set to Fit. | |
Visible | Gets or sets the shape visibility. | |
Widget | Gets or sets the child widget. | |
Width | Gets or sets the shape width |
Name | Description | |
---|---|---|
AlignInPage | Sets the left-top corner of the shape Alignment Box in page coordinates to be the specified point. This method is internally performing a translation of the shape. | |
AppendContextMenuItems | Overridden. Appends custom context menu items. | |
CanClip | Overridden. Overriden to return true. | |
CanTransform | Overridden. Overriden to return true | |
CreateEllipse | Creates an ellipse shape | |
CreateLineShape | Initializes a 1D shape, the geometry of which draws a line from the Begin to the End point of the shape. | |
CreateRectangle | Creates a 2D shape, the geometry of which draws a rectangle inside the WH box. | |
GetAbilitiesMask | Overridden. Overriden to return the shape abilities | |
GetAccessibleShapes | Gets a list of the accessible shapes (e.g. NeighbourShapes + the accessible shapes of the neighbour shapes) | |
GetAlignBoxInPage | Gets the alignment box of the shape. For a 2D shape this is the bounds of the shape box projection in page coordinates. For a 1D shape this is the bounds of the shape end-points projection in page coordinates. | |
GetAlignBoxInParent | Gets the alignment box of the shape. For a 2D shape this is the bounds of the shape box projection in parent coordinates. For a 1D shape this is the bounds of the shape end-points projection in parent coordinates. | |
GetBeginPoint | Gets the begin point of the shape (in parent coordinates) | |
GetBeginPointInDrawing | Gets the begin point of the shape in drawing coordinates | |
GetBeginPointInPage | Gets the begin point of the shape in page coordinates | |
GetClip | Overridden. Gets the shape clipping region. | |
GetDestinationShapes | Gets a list of the destination shapes (e.g. the shapes which are connected to the end plug of outgoing shapes). | |
GetDisplayBounds | Gets the current display bounds of this shape (in local coordinates). | |
GetDisplayBoundsInPage | Gets the display bounds of the shape in page coordinates. | |
GetEndPoint | Gets the end point of the shape (in parent coordinates) | |
GetEndPointInDrawing | Gets the end point of the shape in drawing coordinates | |
GetEndPointInPage | Gets the end point of the shape (in page coordinates) | |
GetFromToShapes | Gets a list of the shapes to whose inward ports, the plugs of this shape are connected | |
GetIncomingShapes | Gets a list of the 1D shapes whose end plug is connected to an inward port of this shape | |
GetLocPinPoint | Gets the local pin point position (in local coordinates). | |
GetMoveSlaves | Gets a list of shapes which will be moved when this shape is moved. | |
GetNeighbourShapes | Gets the union of the Source and Destination shapes. | |
GetOutgoingShapes | Gets a list of the 1D shapes whose start plug is connected to an inward port of this shape | |
GetPaintCacheMode | Overridden. Determines whether the 2D painting of the object can be cached. | |
GetPinPoint | Gets the pin point position (in parent coordinates). | |
GetPinPointInPage | Gets the pin point position in page coordinates. | |
GetPinPointInWHBox | Gets the pin point position (in local coordinates) | |
GetPortByName | Gets the first port with the specified name. Returns null if no such port exists. | |
GetPredecessorShapes | Gets a list of the predecessor shapes (e.g. SourceShapes + the predecessor shapes of the source shapes) | |
GetProtectionMask | Overridden. Overriden to add additional shape specific protection | |
GetReflexiveShapes | Gets a list of the 1D shapes whose start and end plugs are connected to inward port(s) of this shape (e.g. 1D shapes, which start and end in this shape) | |
GetShapeStyle | Gets the shape style to apply to this styleable element. | |
GetSlaveShapes | Gets a list of the shapes, which consider this shape as master (i.e. are glued in a master-slave manner) | |
GetSnappedBoxDirection | Gets the snapped box direction | |
GetSourceShapes | Gets a list of the source shapes (e.g. the shapes which are connected to the start plug of incoming shapes). | |
GetSuccessorShapes | Gets a list of the successor shapes (e.g. DestinationShapes + the successor shapes of the destination shapes) | |
GetTableBlock | Helper method that gets a NTableBlock object | |
GetTextBlock | Helper method that gets a NTextBlock object | |
GetTextBlockContentNoCreate | Gets the text block content without creating a text block if it not already created | |
GetTextSelection | Gets the text selection | |
GetThemeInfo | Gets the theme properties to use for styling this styleable element. | |
GetTransform | Overridden. Gets the matrix that transforms local to parent coordinates. | |
GetWHBox | Gets the box formed by the shape Width and Height (in shape local coordinates) | |
GetWHBoxInParent | Gets the box formed by the shape Width and Height, projected to the shape parent coordinates. | |
GlueBeginToGeometryContour | Overloaded. Glues (connects) the begin point of this shape to a factor location on the specified FROM shape geometry contour. 0 is the begin of the countour, 1 is the end of the contour. | |
GlueBeginToGeometryIntersection | Glues (connects) the begin point of this shape to the intersection point between the vector formed by the FROM shape center and the begin-point direction vector and the FROM shape geometry. | |
GlueBeginToGeometryVertex | Glues the begin point of the shape to the vertex of the specified geometry command. | |
GlueBeginToNearestPort | Glues the begin point of this shape to the nearest port of the specified FROM shape. | |
GlueBeginToPort | Glues the begin point of this shape to the specified port | |
GlueBeginToShape | Glues the begin point to the specified shape. The type of glue that is performed depends on the shape.DefaultShapeGlue property. | |
GlueBeginToShapeBox | Glues the begin point of the shape to a point defined by factors in the specified FROM shape box. | |
GlueBeginToShapeBoxIntersection | Glues (connects) the begin point of this shape to the intersection point between the vector formed by the FROM shape center and the begin-point direction vector and the FROM shape Width/Height box. | |
GlueBeginToShapeLine | Glues the begin point of the shape to a factor location along the FROM shape line. 0 is the begin of the line, 1 is the end of the line. | |
GlueEndToGeometryContour | Overloaded. Glues (connects) the end point of this shape to a factor location on the specified TO shape geometry contour. 0 is the end of the countour, 1 is the end of the contour. | |
GlueEndToGeometryIntersection | Glues (connects) the end point of this shape to the intersection point between the vector formed by the TO shape center and the end-point direction vector and the TO shape geometry. | |
GlueEndToGeometryVertex | Glues the end point of the shape to the vertex of the specified geometry command. | |
GlueEndToNearestPort | Glues the end point of this shape to the nearest port of the specified TO shape. | |
GlueEndToPort | Glues the end point of this shape to the specified port | |
GlueEndToShape | Glues the end point to the specified shape. The type of glue that is performed depends on the shape.DefaultShapeGlue property. | |
GlueEndToShapeBox | Glues the end point of the shape to a point defined by factors in the specified TO shape box. | |
GlueEndToShapeBoxIntersection | Glues (connects) the end point of this shape to the intersection point between the vector formed by the TO shape center and the end-point direction vector and the TO shape Width/Height box. | |
GlueEndToShapeLine | Glues the end point of the shape to a factor location along the TO shape line. 0 is the begin of the line, 1 is the end of the line. | |
GlueMasterPortToPort | Glues (connects) a port of this shape to a port of the master shape. This type of glue translates the shape to match the port locations, and rotates the shape to match the port directions. | |
HitTest | Overloaded. Overridden. Hit tests a shape by point | |
Init1DShape | Helper method for setting up a 1D shape. Sets the ShapeType to 1D.
If xformType is Vector, the shape transform is initialized as a vector connecting the begin and end points, such that: Binds the Width to the distance between the Begin and End points. Binds the Angle to the angle formed by the line connecting the Begin and End points and the X axis. Binds the PinX and PinY to the middle point of the line connecting the Begin and End points. Binds the LocPinX and LocPinY to the center of the shape local alignment box. If xformType is Box, the shape transform is initialized as a vector connecting the begin and end points, such that: Binds the Width to the X distance between the Begin and End points. Binds the Height to the Y distance between the Begin and End points. Sets the angle to zero. Binds the PinX and PinY to the middle point of the line connecting the Begin and End points. Binds the LocPinX and LocPinY to the center of the shape. | |
Init2DShape | Helper method that sets the ShapeType to Shape2D and places the local pin point inside the center of the shape Width and Height (via expressions). Additionally, if the shape was previously a Shape1D, this method unglues the Begin and End points and destroys any expressions associated with the shape Angle, Width, Height, PinX and PinY properties. ShapeType = ENShapeType.Shape2D; SetFx(NShape.LocPinXProperty, new NShapeWidthFactorFx(0.5f)); SetFx(NShape.LocPinYProperty, new NShapeHeightFactorFx(0.5f)); | |
InvalidateArrangeFromChild | Called by child or descendant arrange elements that consider this element as arrange parent, and want to inform it to invalidate it's arrange. | |
InvalidateMeasureFromChild | Called by child or descendant measure elements that consider this element as measure parent, and want to inform it to invalidate it's measure. | |
IsConnector | Gets whether the given shape is a connector, which is true if it is a 1D shape and its UserClass is equal to "Connector". | |
LocalToParent | Overloaded. Overridden. Transforms a point in local coordinates to the coordinates of its parent coordinate system | |
MoveTextBlockBelowShape | Moves the text block of the shape below it. | |
ParentToLocal | Overloaded. Overridden. Transforms a point in parent coordinates to local coordinates | |
RaiseQueryAutoConnectButtonContent | Raises the QueryShowAutoConnectButton event | |
Resize | Overloaded. Resizes the shape box by setting the specified value to the box point corresponding to a compass direction. | |
Rotate | Rotates the shape with the specified angle amount. Internally this method calls SetAngle with a value equal to Angle + angle. | |
SetAngle | Sets the shape angle relatively to its parent (i.e. Page or Group). This operation unglues the shape from its master (if any). If the shape is inside the page, this method sets a constant value to the Angle property. If the shape is inside a group, this method also updates the expressions of the Width and Height properties, depending on the ResizeInGroup setting. | |
SetArrangeSlot | Overloaded. Sets the arrange slot of the shape and positions it into it taking into account the horizontal and vertical placement specified in the LayoutData. | |
SetBeginPoint | Sets a constant begin point of the shape (in parent coordinates). This implementation Unglues the begin point. | |
SetBounds | Overloaded. Sets the bounding box the shape to be the specified rectangle (in parent coordinates). | |
SetEndPoint | Sets a constant end point of the shape (in parent coordinates). This implementation Unglues the end point. | |
SetHeight | Sets the shape Height. If the shape is inside a group, this method updates the expression for shape Height. If the shape is inside a page, this method sets a constant value to the shape Height. | |
SetLocPinPoint | Overloaded. Sets the local pin point position (in local coordinates). By default the local pin point is specified relatively to the shape width and height. This implementation sets proportional expressions to the LocPinX and LocPinY properties. | |
SetPinPoint | Overloaded. Sets the pin point position (in parent coordinates). This operation unglues the shape from its master (if any). If the shape resides in a group, the Pin is expressed as factor expressions of the group dimensions. If the shape resides in a page, the Pin is set to constant values. | |
SetShapePropertyValue | Overloaded. Sets the shape property with the given name. | |
SetWidth | Sets the shape Width. If the shape is inside a group, this method updates the expression for shape Width. If the shape is inside a page, this method sets a constant value to the shape Width. | |
ShowPropertiesDialog | Overridden. Shows the shape properties dialog | |
Split | Splits this shape with the given 2D shape. Works only if this shape is a splittable 1D shape (Splittable = true) and the given 2D shape can split shapes (CanSplit = true). | |
StartInplaceEditing | Overloaded. Starts inplace editing for this shape, by showing the inplace editor of the shape. | |
Translate | Overridden. Translate this item with the specified amounts. For 2D shapes this method translates the PinPoint, For 1D shapes this method translates the BeginPonit and EndPoint of the shape. | |
Translate1D | Translates a 1D shape, by offseting the begin and end points of the shape. The modification of both the begin and end points of the shape is optional. Throws an exception if this is not a 1D shape. | |
Translate2D | Translates a 2D shape, by offseting the PinPoint with the specified amounts. Throws an exception if this is not a 2D shape. | |
TryGetBounds | Tries to get the specified shape bounds (in shape coordinates) | |
TryGetShapePropertyValue | Overloaded. Tries to get the value of the specified property for the this shape by converting the variant value of the property to the given type. | |
TryGlueEndPoint | Overloaded. Glues the begin or end point of the shape to a snap point result. Returns true, if successfully glued to a port, shape or geometry. Otherwise returns false. | |
UnglueAll | Destroys the shape begin glue, end glue and master glue, if any. | |
UnglueBegin | Unglues the begin point | |
UnglueEnd | Unglues the end point | |
UnglueFromIncommingShape | Unglues this shape from the specified incomming shape. If the specified shape is not an incomming shape, does nothing. | |
UnglueFromMaster | Unglues (disconnects) the outward connection of this shape if any. | |
UnglueFromOutgoingShape | Unglues this shape from the specified outgoing shape. If the specified shape is not an outgoing shape, does nothing. | |
UpdateBounds | Updates the Width and Height box of the shape to encompass the geometry and inner shapes of the shape. This operation should be carefully used, since it refactors the geometry expressions to be proportional to the new shape bounds. | |
ValidateArrange | Overridden. Validates the arrange of the element |
Name | Description | |
---|---|---|
AbortInplaceEditing | Aborts the inplace editing | |
ArrangeContent | Layouts the content of the element inside the specified content area | |
ASb | Overridden. | |
Avhj | ||
bSb | ||
bUhj | ||
bYhj | ||
CommitInplaceEditing | Commits the inplace editing of the specified editor. Note that the editor must be created by this shape's CreateInplaceEditor method. | |
CreateActionCommands | Creates the action commands - Flip HV/Rotate. | |
CreateCustomCommands | Creates the custom commands. | |
CreateFormatGeometryCommandsMenuItem | Creates the View menu item, that contains formatting commands like Fill, Stroke and Shadow. | |
CreateFormatTextBlockCommandsMenuItem | Creates the Format Text menu item, that contains formatting commands like Fill, Stroke and Shadow. | |
CreateGeometry | Called to create a default geometry. | |
CreateImageBlock | Called to create a default image block. | |
CreateInplaceEditor | Creates the inplace edit control that this shape must use. This implementation creates a text box that is sized to the text block and positioned to the text block pin. | |
CreateInplaceEditorContent | Creates and initializes the content of the scpecified inplace editor. This implementation creates a text box. | |
CreateStyle | Called to create the default shape style. | |
CreateTextBlock | Called to create a default text block. | |
CSb | ||
Cthj | ||
Cvhj | ||
CYhj | ||
dSb | ||
ESb | ||
Evhj | ||
EWhj | ||
EYhj | ||
fSb | ||
fShj | ||
GSb | Overridden. | |
Gvhj | ||
hSb | Overridden. | |
hYhj | ||
ISb | ||
IUhj | ||
Ivhj | ||
jrhj | ||
jSb | ||
KSb | ||
Kvhj | ||
lSb | Overridden. | |
MeasureContent | Measures the desired size of the element content | |
MSb | Overridden. | |
Mvhj | ||
nSb | ||
OnAncestorsChanged | Overridden. Updates any references or cache related to the visitor of the node ancestors | |
OnBeginPointGlueChanged | Called when the BeginPointGlue has changed. | |
OnChildInserted | Overridden. Called when a child node has been inserted | |
OnChildRemoved | Overridden. Called when a child node has been removed | |
OnChildrenChanged | Overridden. Updates any references or cache related to the visitor of the node children | |
OnCodeBehindSourceChanged | Called when the shape behavior has changed. | |
OnControlsChanged | Called whenever the geometries count or properties have changed. Raises the ControlsChanged event. | |
OnDeserialized | Overridden. Called when the node is deserialized | |
OnEndPointGlueChanged | Called when the BeginGlue or EndGlue has changed. | |
OnEndPointsChanged | Called whenever the geometries count or properties have changed. Raises the EndPoints event. | |
OnGeometryChanged | Called whenever the geometry has changed. Raises the GeometryChanged event. | |
OnMasterGlueChanged | Called when the MasterElementRef property has changed. | |
OnOwnerPageChanged | Overridden. Called when the owner page of the shape has changed. | |
OnPageTransformChanged | Called when the transformation from local to page coordinates of this shape has changed. Raises the page transform changed event. | |
OnPermissionsChanged | Overridden. Called when the item permissions have changed. | |
OnPortsChanged | Called whenever the ports count or ports properties have changed. Raises the PortsChanged event. | |
OnPostPaint | Overridden. Performs the element post-children custom paint. | |
OnPrePaint | Overridden. Performs the element pre-children custom paint. | |
OnShapeTypeChanged | Called when the ShapeType has changed. | |
OnShowHandlesChanged | Called when the ShowHandles has changed. | |
OnSizeChanged | Called whenever the Width or Height properties have changed. Raises the SizeChanged event. | |
OnSizeChanging | Called whenever the Width or Height properties are about to change | |
OnTextBlockChanged | Called when the TextBlock has changed | |
OnTransformChanged | Called when the transformation from local to parent coordinates of this shape has changed. Raises the transform changed event. | |
OnVisibleChanged | Called when the Visible property has changed. | |
OSb | ||
prhj | ||
pSb | ||
pShj | ||
pvhj | ||
QSb | ||
rSb | ||
SkipBranchDisplayTraversal | Overridden. Determines whether the visitor needs to visit this displayable branch. | |
Srhj | ||
SSb | ||
StartEditing | Focuses the inplace editor content | |
Svhj | ||
tSb | Overridden. | |
tShj | ||
Urhj | ||
USb | Overridden. | |
UUhj | ||
Uvhj | ||
vSb | Overridden. | |
WSb | Overridden. | |
Wvhj | ||
xSb | Overridden. | |
xShj | ||
xthj | ||
xUhj | ||
Yvhj |
Name | Description | |
---|---|---|
BeginPointChanged | Occurs when the coordinates of the shape Begin Point has changed. | |
BeginPointGlueChanged | Occurs when the BeginPoint glue has changed. | |
BuildContextRibbonGroup | Occurs when the shape's context ribbon group is being constructed. | |
ControlsChanged | Occurs when the shape control points have changed | |
EndPointChanged | Occurs when the coordinates of the shape End Point has changed. | |
EndPointGlueChanged | Occurs when the EndPoint glue has changed. | |
GeometryChanged | Occurs when the shape Geometry has changed | |
MasterGlueChanged | Occurs when the MasterGlue glue has changed. | |
PageTransformChanged | Occurs when the shape page transform has changed | |
PortsChanged | Occurs when the ports have changed | |
QueryAutoConnectButtonContent | Occurs when the shape queries for a connect button content. | |
ShapeCodeBehindChanged | Occurs when the code-behind of the shape has changed. | |
ShapeTypeChanged | Occurs when the ShapeType property has changed. | |
SizeChanged | Occurs when the shape size has changed | |
TextBlockChanged | Occurs when the shape TextBlock has changed | |
TransformChanged | Occurs when the shape transform has changed |