C# Class Quasar.LightBox

Inheritance: System.Windows.Controls.ContentControl
ファイルを表示 Open project: indexzero/quasar Class Usage Examples

Public Properties

Property Type Description
CloseButtonStyleProperty System.Windows.DependencyProperty
CornerRadiusProperty System.Windows.DependencyProperty
HeaderProperty System.Windows.DependencyProperty
HeaderTemplateProperty System.Windows.DependencyProperty
IsOpenedProperty System.Windows.DependencyProperty
LightBoxHeightProperty System.Windows.DependencyProperty
LightBoxWidthProperty System.Windows.DependencyProperty
ShadowProperty System.Windows.DependencyProperty

Protected Properties

Property Type Description
ContentPresenter System.Windows.Controls.ContentPresenter
HeaderPresenter System.Windows.Controls.ContentPresenter
closeButton System.Windows.Controls.Button

Public Methods

Method Description
LightBox ( ) : System
OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnClosing ( ) : void
OnIsOpenedChanged ( bool oldValue, bool newValue ) : void
OnOpening ( ) : void
UpdateVisualState ( ) : void

Private Methods

Method Description
OnCloseButtonClicked ( object sender, RoutedEventArgs args ) : void
OnClosed ( object sender, EventArgs args ) : void
OnIsOpenedChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnOpened ( object sender, EventArgs args ) : void

Method Details

LightBox() public method

public LightBox ( ) : System
return System

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnClosing() protected method

protected OnClosing ( ) : void
return void

OnIsOpenedChanged() protected method

protected OnIsOpenedChanged ( bool oldValue, bool newValue ) : void
oldValue bool
newValue bool
return void

OnOpening() protected method

protected OnOpening ( ) : void
return void

UpdateVisualState() protected method

protected UpdateVisualState ( ) : void
return void

Property Details

CloseButtonStyleProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseButtonStyleProperty
return System.Windows.DependencyProperty

ContentPresenter protected_oe property

protected ContentPresenter,System.Windows.Controls ContentPresenter
return System.Windows.Controls.ContentPresenter

CornerRadiusProperty public_oe static_oe property

public static DependencyProperty,System.Windows CornerRadiusProperty
return System.Windows.DependencyProperty

HeaderPresenter protected_oe property

protected ContentPresenter,System.Windows.Controls HeaderPresenter
return System.Windows.Controls.ContentPresenter

HeaderProperty public_oe static_oe property

public static DependencyProperty,System.Windows HeaderProperty
return System.Windows.DependencyProperty

HeaderTemplateProperty public_oe static_oe property

public static DependencyProperty,System.Windows HeaderTemplateProperty
return System.Windows.DependencyProperty

IsOpenedProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsOpenedProperty
return System.Windows.DependencyProperty

LightBoxHeightProperty public_oe static_oe property

public static DependencyProperty,System.Windows LightBoxHeightProperty
return System.Windows.DependencyProperty

LightBoxWidthProperty public_oe static_oe property

public static DependencyProperty,System.Windows LightBoxWidthProperty
return System.Windows.DependencyProperty

ShadowProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShadowProperty
return System.Windows.DependencyProperty

closeButton protected_oe property

protected Button,System.Windows.Controls closeButton
return System.Windows.Controls.Button