共用方式為


DialogButton Class

Button class to be used for buttons displayed in Visual Studio WPF dialogs The style applied to this button defines common properties (min size, padding, margin)

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
Public Class DialogButton _
    Inherits Button
'用途
Dim instance As DialogButton
public class DialogButton : Button
public ref class DialogButton : public Button
type DialogButton =  
    class
        inherit Button
    end
public class DialogButton extends Button

Inheritance Hierarchy

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.DependencyObject
      System.Windows.Media.Visual
        System.Windows.UIElement
          System.Windows.FrameworkElement
            System.Windows.Controls.Control
              System.Windows.Controls.ContentControl
                System.Windows.Controls.Primitives.ButtonBase
                  System.Windows.Controls.Button
                    Microsoft.VisualStudio.PlatformUI.DialogButton

Thread Safety

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

See Also

Reference

DialogButton Members

Microsoft.VisualStudio.PlatformUI Namespace