Share via


ImageToggleButton Class

Definition

Toggle button with images to represent enabled and disabled states

public ref class ImageToggleButton : Microsoft::PowerShell::Commands::ShowCommandInternal::ImageButtonBase, System::Windows::Markup::IComponentConnector
public class ImageToggleButton : Microsoft.PowerShell.Commands.ShowCommandInternal.ImageButtonBase, System.Windows.Markup.IComponentConnector
type ImageToggleButton = class
    inherit ImageButtonBase
    interface IComponentConnector
Public Class ImageToggleButton
Inherits ImageButtonBase
Implements IComponentConnector
Inheritance
ImageToggleButton
Implements

Constructors

ImageToggleButton()

Initializes a new instance of the ImageToggleButton class.

Fields

IsCheckedProperty

Value indicating the button is checked

Properties

Command

Gets or sets the command associated with this button

(Inherited from ImageButtonBase)
DisabledImageSource

Gets or sets the image to be used for the disabled state

(Inherited from ImageButtonBase)
EnabledImageSource

Gets or sets the image to be used for the enabled state

(Inherited from ImageButtonBase)
IsChecked

Gets or sets a value indicating whether the button is checked

Methods

InitializeComponent()

InitializeComponent

Explicit Interface Implementations

IComponentConnector.Connect(Int32, Object)

Applies to