C# 클래스 WinRTXamlToolkit.Controls.ImageButton

상속: Windows.UI.Xaml.Controls.Button
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 프로퍼티들

프로퍼티 타입 설명
DisabledStateImageSourceProperty Windows.UI.Xaml.DependencyProperty
DisabledStateImageUriSourceProperty Windows.UI.Xaml.DependencyProperty
GenerateMissingImagesProperty Windows.UI.Xaml.DependencyProperty
GeneratedDisabledStateGrayscaleAmountProperty Windows.UI.Xaml.DependencyProperty
GeneratedHoverStateLightenAmountProperty Windows.UI.Xaml.DependencyProperty
GeneratedPressedStateLightenAmountProperty Windows.UI.Xaml.DependencyProperty
HoverStateImageSourceProperty Windows.UI.Xaml.DependencyProperty
HoverStateImageUriSourceProperty Windows.UI.Xaml.DependencyProperty
NormalStateImageSourceProperty Windows.UI.Xaml.DependencyProperty
NormalStateImageUriSourceProperty Windows.UI.Xaml.DependencyProperty
PressedStateImageSourceProperty Windows.UI.Xaml.DependencyProperty
PressedStateImageUriSourceProperty Windows.UI.Xaml.DependencyProperty
RecyclePressedStateImageForHoverProperty Windows.UI.Xaml.DependencyProperty
StretchProperty Windows.UI.Xaml.DependencyProperty

공개 메소드들

메소드 설명
ImageButton ( ) : System

Initializes a new instance of the ImageButton class.

보호된 메소드들

메소드 설명
OnApplyTemplate ( ) : void

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.

OnDisabledStateImageSourceChanged ( ImageSource oldDisabledStateImageSource, ImageSource newDisabledStateImageSource ) : void

Provides derived classes an opportunity to handle changes to the DisabledStateImageSource property.

OnGenerateMissingImagesChanged ( bool oldGenerateMissingImages, bool newGenerateMissingImages ) : void

Provides derived classes an opportunity to handle changes to the GenerateMissingImages property.

OnGeneratedDisabledStateGrayscaleAmountChanged ( double oldGeneratedDisabledStateGrayscaleAmount, double newGeneratedDisabledStateGrayscaleAmount ) : void

Provides derived classes an opportunity to handle changes to the GeneratedDisabledStateGrayscaleAmount property.

OnGeneratedHoverStateLightenAmountChanged ( double oldGeneratedHoverStateLightenAmount, double newGeneratedHoverStateLightenAmount ) : void

Provides derived classes an opportunity to handle changes to the GeneratedHoverStateLightenAmount property.

OnGeneratedPressedStateLightenAmountChanged ( double oldGeneratedPressedStateLightenAmount, double newGeneratedPressedStateLightenAmount ) : void

Provides derived classes an opportunity to handle changes to the GeneratedPressedStateLightenAmount property.

OnHoverStateImageSourceChanged ( ImageSource oldHoverStateImageSource, ImageSource newHoverStateImageSource ) : void

Provides derived classes an opportunity to handle changes to the HoverStateImageSource property.

OnNormalStateImageSourceChanged ( ImageSource oldNormalStateImageSource, ImageSource newNormalStateImageSource ) : void

Provides derived classes an opportunity to handle changes to the NormalStateImageSource property.

OnPressedStateImageSourceChanged ( ImageSource oldPressedStateImageSource, ImageSource newPressedStateImageSource ) : void

Provides derived classes an opportunity to handle changes to the PressedStateImageSource property.

OnRecyclePressedStateImageForHoverChanged ( bool oldRecyclePressedStateImageForHover, bool newRecyclePressedStateImageForHover ) : void

Provides derived classes an opportunity to handle changes to the RecyclePressedStateImageForHover property.

비공개 메소드들

메소드 설명
GenerateDisabledStateImage ( ) : void
GenerateHoverStateImage ( ) : void
GeneratePressedStateImage ( ) : void
OnDisabledStateImageSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the DisabledStateImageSource property.

OnDisabledStateImageUriSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the DisabledStateImageUriSource property.

OnDisabledStateImageUriSourceChanged ( Uri oldDisabledStateImageUriSource, Uri newDisabledStateImageUriSource ) : void

Provides derived classes an opportunity to handle changes to the DisabledStateImageUriSource property.

OnGenerateMissingImagesChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the GenerateMissingImages property.

OnGeneratedDisabledStateGrayscaleAmountChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the GeneratedDisabledStateGrayscaleAmount property.

OnGeneratedHoverStateLightenAmountChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the GeneratedHoverStateLightenAmount property.

OnGeneratedPressedStateLightenAmountChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the GeneratedPressedStateLightenAmount property.

OnHoverStateImageSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the HoverStateImageSource property.

OnHoverStateImageUriSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the HoverStateImageUriSource property.

OnHoverStateImageUriSourceChanged ( Uri oldHoverStateImageUriSource, Uri newHoverStateImageUriSource ) : void

Provides derived classes an opportunity to handle changes to the HoverStateImageUriSource property.

OnNormalStateImageSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the NormalStateImageSource property.

OnNormalStateImageUriSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the NormalStateImageUriSource property.

OnNormalStateImageUriSourceChanged ( Uri oldNormalStateImageUriSource, Uri newNormalStateImageUriSource ) : void

Provides derived classes an opportunity to handle changes to the NormalStateImageUriSource property.

OnPressedStateImageSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the PressedStateImageSource property.

OnPressedStateImageUriSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the PressedStateImageUriSource property.

OnPressedStateImageUriSourceChanged ( Uri oldPressedStateImageUriSource, Uri newPressedStateImageUriSource ) : void

Provides derived classes an opportunity to handle changes to the PressedStateImageUriSource property.

OnRecyclePressedStateImageForHoverChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the RecyclePressedStateImageForHover property.

UpdateDisabledStateImage ( ) : void
UpdateHoverStateImage ( ) : void
UpdateNormalStateImage ( ) : void
UpdatePressedStateImage ( ) : void
UpdateRecycledHoverStateImages ( ) : void

메소드 상세

ImageButton() 공개 메소드

Initializes a new instance of the ImageButton class.
public ImageButton ( ) : System
리턴 System

OnApplyTemplate() 보호된 메소드

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
protected OnApplyTemplate ( ) : void
리턴 void

OnDisabledStateImageSourceChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the DisabledStateImageSource property.
protected OnDisabledStateImageSourceChanged ( ImageSource oldDisabledStateImageSource, ImageSource newDisabledStateImageSource ) : void
oldDisabledStateImageSource ImageSource The old DisabledStateImageSource value
newDisabledStateImageSource ImageSource The new DisabledStateImageSource value
리턴 void

OnGenerateMissingImagesChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the GenerateMissingImages property.
protected OnGenerateMissingImagesChanged ( bool oldGenerateMissingImages, bool newGenerateMissingImages ) : void
oldGenerateMissingImages bool The old GenerateMissingImages value
newGenerateMissingImages bool The new GenerateMissingImages value
리턴 void

OnGeneratedDisabledStateGrayscaleAmountChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the GeneratedDisabledStateGrayscaleAmount property.
protected OnGeneratedDisabledStateGrayscaleAmountChanged ( double oldGeneratedDisabledStateGrayscaleAmount, double newGeneratedDisabledStateGrayscaleAmount ) : void
oldGeneratedDisabledStateGrayscaleAmount double The old GeneratedDisabledStateGrayscaleAmount value
newGeneratedDisabledStateGrayscaleAmount double The new GeneratedDisabledStateGrayscaleAmount value
리턴 void

OnGeneratedHoverStateLightenAmountChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the GeneratedHoverStateLightenAmount property.
protected OnGeneratedHoverStateLightenAmountChanged ( double oldGeneratedHoverStateLightenAmount, double newGeneratedHoverStateLightenAmount ) : void
oldGeneratedHoverStateLightenAmount double The old GeneratedHoverStateLightenAmount value
newGeneratedHoverStateLightenAmount double The new GeneratedHoverStateLightenAmount value
리턴 void

OnGeneratedPressedStateLightenAmountChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the GeneratedPressedStateLightenAmount property.
protected OnGeneratedPressedStateLightenAmountChanged ( double oldGeneratedPressedStateLightenAmount, double newGeneratedPressedStateLightenAmount ) : void
oldGeneratedPressedStateLightenAmount double The old GeneratedPressedStateLightenAmount value
newGeneratedPressedStateLightenAmount double The new GeneratedPressedStateLightenAmount value
리턴 void

OnHoverStateImageSourceChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the HoverStateImageSource property.
protected OnHoverStateImageSourceChanged ( ImageSource oldHoverStateImageSource, ImageSource newHoverStateImageSource ) : void
oldHoverStateImageSource ImageSource The old HoverStateImageSource value
newHoverStateImageSource ImageSource The new HoverStateImageSource value
리턴 void

OnNormalStateImageSourceChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the NormalStateImageSource property.
protected OnNormalStateImageSourceChanged ( ImageSource oldNormalStateImageSource, ImageSource newNormalStateImageSource ) : void
oldNormalStateImageSource ImageSource The old NormalStateImageSource value
newNormalStateImageSource ImageSource The new NormalStateImageSource value
리턴 void

OnPressedStateImageSourceChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the PressedStateImageSource property.
protected OnPressedStateImageSourceChanged ( ImageSource oldPressedStateImageSource, ImageSource newPressedStateImageSource ) : void
oldPressedStateImageSource ImageSource The old PressedStateImageSource value
newPressedStateImageSource ImageSource The new PressedStateImageSource value
리턴 void

OnRecyclePressedStateImageForHoverChanged() 보호된 메소드

Provides derived classes an opportunity to handle changes to the RecyclePressedStateImageForHover property.
protected OnRecyclePressedStateImageForHoverChanged ( bool oldRecyclePressedStateImageForHover, bool newRecyclePressedStateImageForHover ) : void
oldRecyclePressedStateImageForHover bool The old RecyclePressedStateImageForHover value
newRecyclePressedStateImageForHover bool The new RecyclePressedStateImageForHover value
리턴 void

프로퍼티 상세

DisabledStateImageSourceProperty 공개적으로 정적으로 프로퍼티

DisabledStateImageSource Dependency Property
public static DependencyProperty,Windows.UI.Xaml DisabledStateImageSourceProperty
리턴 Windows.UI.Xaml.DependencyProperty

DisabledStateImageUriSourceProperty 공개적으로 정적으로 프로퍼티

DisabledStateImageUriSource Dependency Property
public static DependencyProperty,Windows.UI.Xaml DisabledStateImageUriSourceProperty
리턴 Windows.UI.Xaml.DependencyProperty

GenerateMissingImagesProperty 공개적으로 정적으로 프로퍼티

GenerateMissingImages Dependency Property
public static DependencyProperty,Windows.UI.Xaml GenerateMissingImagesProperty
리턴 Windows.UI.Xaml.DependencyProperty

GeneratedDisabledStateGrayscaleAmountProperty 공개적으로 정적으로 프로퍼티

GeneratedDisabledStateGrayscaleAmount Dependency Property
public static DependencyProperty,Windows.UI.Xaml GeneratedDisabledStateGrayscaleAmountProperty
리턴 Windows.UI.Xaml.DependencyProperty

GeneratedHoverStateLightenAmountProperty 공개적으로 정적으로 프로퍼티

GeneratedHoverStateLightenAmount Dependency Property
public static DependencyProperty,Windows.UI.Xaml GeneratedHoverStateLightenAmountProperty
리턴 Windows.UI.Xaml.DependencyProperty

GeneratedPressedStateLightenAmountProperty 공개적으로 정적으로 프로퍼티

GeneratedPressedStateLightenAmount Dependency Property
public static DependencyProperty,Windows.UI.Xaml GeneratedPressedStateLightenAmountProperty
리턴 Windows.UI.Xaml.DependencyProperty

HoverStateImageSourceProperty 공개적으로 정적으로 프로퍼티

HoverStateImageSource Dependency Property
public static DependencyProperty,Windows.UI.Xaml HoverStateImageSourceProperty
리턴 Windows.UI.Xaml.DependencyProperty

HoverStateImageUriSourceProperty 공개적으로 정적으로 프로퍼티

HoverStateImageUriSource Dependency Property
public static DependencyProperty,Windows.UI.Xaml HoverStateImageUriSourceProperty
리턴 Windows.UI.Xaml.DependencyProperty

NormalStateImageSourceProperty 공개적으로 정적으로 프로퍼티

NormalStateImageSource Dependency Property
public static DependencyProperty,Windows.UI.Xaml NormalStateImageSourceProperty
리턴 Windows.UI.Xaml.DependencyProperty

NormalStateImageUriSourceProperty 공개적으로 정적으로 프로퍼티

NormalStateImageUriSource Dependency Property
public static DependencyProperty,Windows.UI.Xaml NormalStateImageUriSourceProperty
리턴 Windows.UI.Xaml.DependencyProperty

PressedStateImageSourceProperty 공개적으로 정적으로 프로퍼티

PressedStateImageSource Dependency Property
public static DependencyProperty,Windows.UI.Xaml PressedStateImageSourceProperty
리턴 Windows.UI.Xaml.DependencyProperty

PressedStateImageUriSourceProperty 공개적으로 정적으로 프로퍼티

PressedStateImageUriSource Dependency Property
public static DependencyProperty,Windows.UI.Xaml PressedStateImageUriSourceProperty
리턴 Windows.UI.Xaml.DependencyProperty

RecyclePressedStateImageForHoverProperty 공개적으로 정적으로 프로퍼티

RecyclePressedStateImageForHover Dependency Property
public static DependencyProperty,Windows.UI.Xaml RecyclePressedStateImageForHoverProperty
리턴 Windows.UI.Xaml.DependencyProperty

StretchProperty 공개적으로 정적으로 프로퍼티

Stretch Dependency Property
public static DependencyProperty,Windows.UI.Xaml StretchProperty
리턴 Windows.UI.Xaml.DependencyProperty