ToggleButtonField Class

 

A ShapeField which can display an image corresponding the selected state

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)


public ref class ToggleButtonField abstract : ShapeField

NameDescription
System_CAPS_protmethodToggleButtonField(String^)

Initializes a new instance of the ToggleButtonField class

NameDescription
System_CAPS_pubpropertyAnchoringBehavior

Describes how the content of the field should position and size itself in relation to the parent ShapeElement.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultAccessibleDescription

Gets or sets the default accessible description.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultAccessibleName

Gets or sets the default name of the shape field for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultAccessibleState

Gets the default state of the shape field for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultBackgroundBrushId

Gets or sets the ID of the default brush to paint the background of the shape field.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultFocusable

Gets the shape field and verifies whether it can receive focus, or gives the shape field the ability to receive focus.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultInactiveSelectedBackgroundBrushId

Gets or sets the ID of the default background brush for the shape field.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultPenId

Gets or sets the ID of the default pen to use for the shape field.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultReflectParentFocusedState

Gets the child shape field and verifies whether it should receive focus when its parent shape receives focus or sets the ability to reflect the focus state of its parent shape.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultReflectParentSelectedState

Gets the child shape field and verifies whether it should be selected when its parent shape is selected or sets the ability to reflect the selection state of its parent shape.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultSelectable

Gets the shape field and verifies whether it can be selected by default or sets the default selection state of the shape field.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultSelectedBackgroundBrushId

Gets or sets the ID of the default background brush for the shape field.(Inherited from ShapeField.)

System_CAPS_pubpropertyDefaultUnscaled

Gets or sets a value indicating whether the image should be drawn unscaled with regards to the bounds of this field or the image should be scaled to fit the bounds.

System_CAPS_pubpropertyDefaultVisibility

Gets the shape field and verifies whether it appears by default or sets the default visibility of the shape field.(Inherited from ShapeField.)

System_CAPS_pubpropertyName

Gets the name of the shape field.(Inherited from ShapeField.)

NameDescription
System_CAPS_pubmethodAccessibleDoDefaultAction(ShapeElement^)

Performs the default action for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubmethodAllowInPlaceEditorAutoSize(ShapeElement^)

Enables the in-place editor to be automatically sized in the shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodAssociateValueWith(Store^, AssociatedPropertyInfo^)

Associates the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.)

System_CAPS_pubmethodAssociateValueWith(Store^, Guid)

Associates the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.)

System_CAPS_pubmethodAssociateValueWith(Store^, Guid, AssociatedPropertyInfo^)

Associates the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.)

System_CAPS_pubmethodAssociateVisibilityWith(Store^, AssociatedPropertyInfo^)

Associates the visibility of the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.)

System_CAPS_pubmethodAssociateVisibilityWith(Store^, Guid)

Associates the visibility of the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.)

System_CAPS_pubmethodAssociateVisibilityWith(Store^, Guid, AssociatedPropertyInfo^)

Associates the visibility of the shape field with a domain property that is assigned to a shape element.(Inherited from ShapeField.)

System_CAPS_pubmethodCanEditValue(ShapeElement^, DiagramClientView^)

Gets the shape field and verifies whether it can be edited.(Inherited from ShapeField.)

System_CAPS_pubmethodChangeState(ShapeElement^)

Change the state of the toggle button

System_CAPS_pubmethodCommitPendingEdit(ShapeElement^, DiagramClientView^)

Commits the pending edit.(Inherited from ShapeField.)

System_CAPS_protmethodCreateToggleButtonEventArgs(ShapeElement^)

Create an instance of the class responsible for toggle button event arguments

System_CAPS_pubmethodDoHitTest(PointD, ShapeElement^, DiagramHitTestInfo^)

Performs a hit test on a specified point in the diagram to determine whether the point is in the bounds of the shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodDoKeyboardNavigation(Keys, DiagramClientView^, DiagramItem^)

Navigates in the shape field by using the keyboard.(Inherited from ShapeField.)

System_CAPS_pubmethodDoPaint(DiagramPaintEventArgs^, ShapeElement^)

Draws the contents of the ShapeField.(Overrides ShapeField::DoPaint(DiagramPaintEventArgs^, ShapeElement^).)

System_CAPS_pubmethodEditValue(ShapeElement^, DiagramClientView^)

Opens the in-place editor for the shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodEditValue(ShapeElement^, DiagramClientView^, PointD)

Opens the in-place editor for the shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFindFirstChild(ShapeElement^, Boolean)

Locates the first child shape field in the parent shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodFindLastChild(ShapeElement^, Boolean)

Locates the last child shape field in the parent shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodFindNextChild(DiagramItem^, Boolean)

Locates the next child shape field in the parent shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodFindNextInChildSubFields(ShapeElement^, DiagramItem^, Boolean)

Locates the next child shape field in the navigation sequence.(Inherited from ShapeField.)

System_CAPS_pubmethodFindPreviousChild(DiagramItem^, Boolean)

Locates the previous child shape field in the parent shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodFindPreviousInChildSubFields(ShapeElement^, DiagramItem^, Boolean)

Locates the previous child shape field in the navigation sequence.(Inherited from ShapeField.)

System_CAPS_pubmethodFocused(ShapeElement^, DiagramClientView^)

Gets the shape field and verifies whether it has focus.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibilityObject(ShapeElement^, DiagramClientView^)

Gets the accessibility object that is assigned to the shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibleChild(ShapeElement^, Int32)

Gets the Accessibility object for the child shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibleChildCount(ShapeElement^)

Gets the number of Accessibility objects that are assigned to the parent shape field and its child shape fields.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibleDefaultActionDescription(ShapeElement^)

Gets the default purpose of the shape field for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibleDescription(ShapeElement^)

Gets the description of the shape field for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibleHelp(ShapeElement^)

Gets the shape field Help for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibleHelpTopicFileName(ShapeElement^)

Gets a topic in the Help for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibleHelpTopicId(ShapeElement^)

Gets the ID that is assigned to the Help topic for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibleName(ShapeElement^)

Gets the name of the shape field for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibleRole(ShapeElement^)

Gets the role of the shape field for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibleState(ShapeElement^, DiagramClientView^)

Gets the state of the shape field for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubmethodGetAccessibleValue(ShapeElement^)

Gets the value in the shape field for the accessible object.(Inherited from ShapeField.)

System_CAPS_pubmethodGetActiveInPlaceEditor(ShapeElement^, DiagramClientView^)

Gets the in-place editor that is active.(Inherited from ShapeField.)

System_CAPS_pubmethodGetBackgroundBrush(DiagramClientView^, ShapeElement^, Color)

Gets the brush that draws the background for the shape element to which this shape field is assigned.(Inherited from ShapeField.)

System_CAPS_pubmethodGetBackgroundBrushId(DiagramClientView^, ShapeElement^)

Gets the ID of the brush that draws the background for the shape element to which this shape field is assigned.(Inherited from ShapeField.)

System_CAPS_protmethodSystem_CAPS_staticGetBitmap(String^)

Gets a metafile

System_CAPS_pubmethodGetBounds(ShapeElement^)

Gets the bounds for the shape field.(Inherited from ShapeField.)

System_CAPS_protmethodGetButtonImage(ShapeElement^)

Provides the image for the current state of the button

System_CAPS_pubmethodGetCursor(Cursor^, DiagramClientView^, PointD)

Gets the pointer that appears when the mouse is pointing to the shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodGetFocusable(ShapeElement^)

Gets the shape field and verifies whether it can receive focus.(Inherited from ShapeField.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetInPlaceEditorBounds(ShapeElement^)

Gets the bounds for the in-place editor.(Inherited from ShapeField.)

System_CAPS_pubmethodGetMaximumInPlaceEditorSize(ShapeElement^)

Gets the maximum bounds for the in-place editor.(Inherited from ShapeField.)

System_CAPS_protmethodSystem_CAPS_staticGetMetafile(String^)

Gets a metafile

System_CAPS_pubmethodGetMinimumInPlaceEditorSize(ShapeElement^)

Gets the minimum bounds for the in-place editor.(Inherited from ShapeField.)

System_CAPS_pubmethodGetMinimumSize(ShapeElement^)

Returns the minimum size of the ImageField, which is the size of the image to be displayed, or the minimum size specified in the AnchoringBehavior, whichever is larger. If the shape field is unscaled, then the AnchoringBehavior size is always used.(Overrides ShapeField::GetMinimumSize(ShapeElement^).)

System_CAPS_pubmethodGetPen(DiagramClientView^, ShapeElement^, Color)

Gets the pen that draws the shape element to which the shape field is assigned.(Inherited from ShapeField.)

System_CAPS_pubmethodGetPenId(ShapeElement^)

Gets the ID of the pen that draws the shape element to which the shape field is assigned.(Inherited from ShapeField.)

System_CAPS_pubmethodGetPotentialMouseAction(MouseButtons, PointD, DiagramHitTestInfo^)

Retrieves a mouse action that should be made active on the next MouseDown event if the mouse is over the specified point.(Overrides ShapeField::GetPotentialMouseAction(MouseButtons, PointD, DiagramHitTestInfo^).)

System_CAPS_pubmethodGetSelectable(ShapeElement^)

Gets the shape field and verifies whether it can be selected.(Inherited from ShapeField.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetUnscaled(ShapeElement^)

Gets whether the button image should be drawn unscaled or not.

System_CAPS_pubmethodGetValue(ShapeElement^)

Gets the value in the shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodGetValueDomainPropertyInfo(ShapeElement^)

Gets the domain property that is assigned to the value in the shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodGetVisible(ShapeElement^)

Gets the shape field and verifies whether it appears.(Inherited from ShapeField.)

System_CAPS_pubmethodHasFocusedAppearance(ShapeElement^, DiagramClientView^)

Gets the shape field and verifies whether it should appear to have the focus.(Inherited from ShapeField.)

System_CAPS_pubmethodHasPendingEdit(ShapeElement^, DiagramClientView^)

Gets the shape field and verifies whether its in-place editor is active and a change is pending.(Inherited from ShapeField.)

System_CAPS_pubmethodHasSelectedAppearance(ShapeElement^, DiagramClientView^)

Gets the shape field and verifies whether it appears to be selected.(Inherited from ShapeField.)

System_CAPS_pubmethodIsNavigationKey(Char)

Gets the key that the user pressed and verifies whether it can be used to navigate between shape fields.(Inherited from ShapeField.)

System_CAPS_pubmethodIsNavigationKey(Keys)

Gets the keys that the user pressed and verifies whether they can be used to navigate between shape fields.(Inherited from ShapeField.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodNavigateAscend(ShapeElement^, SelectedShapesCollection^)

Moves the focus to the previous shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.)

System_CAPS_pubmethodNavigateDescend(ShapeElement^, SelectedShapesCollection^)

Moves the focus to the next shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.)

System_CAPS_pubmethodNavigateToFirst(ShapeElement^, SelectedShapesCollection^)

Moves the focus to the first shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.)

System_CAPS_pubmethodNavigateToLast(ShapeElement^, SelectedShapesCollection^)

Moves the focus to the last shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.)

System_CAPS_pubmethodNavigateToNext(ShapeElement^, SelectedShapesCollection^)

Moves the focus to the next shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.)

System_CAPS_pubmethodNavigateToPrevious(ShapeElement^, SelectedShapesCollection^)

Moves the focus to the previous shape field in the navigation sequence for the selected shapes.(Inherited from ShapeField.)

System_CAPS_protmethodOnBeginEdit(DiagramItemEventArgs^)

Alerts listeners when in-place editing has begun.(Inherited from ShapeField.)

System_CAPS_pubmethodOnClick(DiagramPointEventArgs^)

Alerts listeners when the user has clicked a shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodOnDoubleClick(DiagramPointEventArgs^)

Alerts listeners when the user has double-clicked a shape field.(Inherited from ShapeField.)

System_CAPS_protmethodOnEndEdit(DiagramItemEventArgs^)

Alerts listeners when in-place editing has completed.(Inherited from ShapeField.)

System_CAPS_pubmethodOnKeyDown(DiagramKeyEventArgs^)

Alerts listeners when the user has held down a key when pointing to a shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodOnKeyPress(DiagramKeyPressEventArgs^)

Alerts listeners when the user has pressed a key when pointing to a shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodOnKeyUp(DiagramKeyEventArgs^)

Alerts listeners when the user has released a key when pointing to a shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodOnMouseDown(DiagramMouseEventArgs^)

Alerts listeners when the user is holding down the mouse over a shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodOnMouseMove(DiagramMouseEventArgs^)

Alerts listeners when the mouse has been moved over a shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodOnMouseUp(DiagramMouseEventArgs^)

Handles mouse click on the button(Overrides ShapeField::OnMouseUp(DiagramMouseEventArgs^).)

System_CAPS_pubmethodOnMouseWheel(DiagramMouseEventArgs^)

Alerts listeners when the mouse has been rotated over a shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodSelected(ShapeElement^, DiagramClientView^)

Gets the shape field and verifies whether it is selected.(Inherited from ShapeField.)

System_CAPS_pubmethodSetSelectionRange(SelectedShapesCollection^, DiagramItem^, DiagramItem^)

Sets the selection to a range of child shape fields.(Inherited from ShapeField.)

System_CAPS_pubmethodSetValue(ShapeElement^, Object^)

Assigns the specified value to a shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodSetVisible(ShapeElement^, Object^)

Sets the visibility of the shape field.(Inherited from ShapeField.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: