C# 클래스 ComponentFactory.Krypton.Navigator.ViewDrawNavCheckButtonBase

Navigator view base element for drawing a check button for a krypton page.
상속: ComponentFactory.Krypton.Toolkit.ViewDrawButton, IContentValues
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_overrideDisabled PaletteTripleOverride
_overrideNormal PaletteTripleOverride
_overridePressed PaletteTripleOverride
_overrideSelected PaletteTripleOverride
_overrideTracking PaletteTripleOverride

Private Properties

프로퍼티 타입 설명
OnButtonDragOffset void
OnButtonDragRectangle void
OnDragEnd void
OnDragMove void
OnDragQuit void
OnDragStart void

공개 메소드들

메소드 설명
ButtonSpecFromView ( ViewBase element ) : ButtonSpec

Gets the ButtonSpec associated with the provided item.

GetImage ( PaletteState state ) : Image

Gets the content image.

GetImageTransparentColor ( PaletteState state ) : Color

Gets the image color that should be transparent.

GetLongText ( ) : string

Gets the content long text.

GetShortText ( ) : string

Gets the content short text.

PerformClick ( ) : void

Raises the Click event for the button.

ToString ( ) : string

Obtains the String representation of this instance.

UpdateButtonSpecMapping ( ) : void

Update the button spec manager mapping to reflect current settings.

ViewDrawNavCheckButtonBase ( KryptonNavigator navigator, KryptonPage page, VisualOrientation orientation ) : System

Initialize a new instance of the ViewDrawNavCheckButtonBase class.

ViewDrawNavCheckButtonBase ( KryptonNavigator navigator, KryptonPage page, VisualOrientation orientation, IPaletteTriple stateDisabled, IPaletteTriple stateNormal, IPaletteTriple stateTracking, IPaletteTriple statePressed, IPaletteTriple stateSelected, IPaletteTriple stateFocused ) : System

Initialize a new instance of the ViewDrawNavCheckButtonBase class.

ViewDrawNavCheckButtonBase ( KryptonNavigator navigator, KryptonPage page, VisualOrientation orientation, bool overflow ) : System

Initialize a new instance of the ViewDrawNavCheckButtonBase class.

보호된 메소드들

메소드 설명
CreateMouseController ( ) : IMouseController

Create a mouse controller appropriate for operating this button.

Dispose ( bool disposing ) : void

Release unmanaged and optionally managed resources.

OnClick ( object sender, EventArgs e ) : void

Processes the Click event from the button.

OnNeedPaint ( object sender, NeedLayoutEventArgs e ) : void

Raises the NeedPaint event.

OnRightClick ( object sender, MouseEventArgs e ) : void

Processes the RightClick event from the button.

비공개 메소드들

메소드 설명
OnButtonDragOffset ( object sender, ButtonDragOffsetEventArgs e ) : void
OnButtonDragRectangle ( object sender, ButtonDragRectangleEventArgs e ) : void
OnDragEnd ( object sender, PointEventArgs e ) : void
OnDragMove ( object sender, PointEventArgs e ) : void
OnDragQuit ( object sender, EventArgs e ) : void
OnDragStart ( object sender, DragStartEventCancelArgs e ) : void

메소드 상세

ButtonSpecFromView() 공개 메소드

Gets the ButtonSpec associated with the provided item.
public ButtonSpecFromView ( ViewBase element ) : ButtonSpec
element ViewBase Element to search against.
리턴 ComponentFactory.Krypton.Toolkit.ButtonSpec

CreateMouseController() 보호된 메소드

Create a mouse controller appropriate for operating this button.
protected CreateMouseController ( ) : IMouseController
리턴 IMouseController

Dispose() 보호된 메소드

Release unmanaged and optionally managed resources.
protected Dispose ( bool disposing ) : void
disposing bool Called from Dispose method.
리턴 void

GetImage() 공개 추상적인 메소드

Gets the content image.
public abstract GetImage ( PaletteState state ) : Image
state PaletteState The state for which the image is needed.
리턴 Image

GetImageTransparentColor() 공개 메소드

Gets the image color that should be transparent.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState The state for which the image is needed.
리턴 Color

GetLongText() 공개 추상적인 메소드

Gets the content long text.
public abstract GetLongText ( ) : string
리턴 string

GetShortText() 공개 추상적인 메소드

Gets the content short text.
public abstract GetShortText ( ) : string
리턴 string

OnClick() 보호된 메소드

Processes the Click event from the button.
protected OnClick ( object sender, EventArgs e ) : void
sender object Source of the event.
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnNeedPaint() 보호된 메소드

Raises the NeedPaint event.
protected OnNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
sender object Source of the event.
e ComponentFactory.Krypton.Toolkit.NeedLayoutEventArgs An NeedLayoutEventArgs containing event data.
리턴 void

OnRightClick() 보호된 메소드

Processes the RightClick event from the button.
protected OnRightClick ( object sender, MouseEventArgs e ) : void
sender object Source of the event.
e MouseEventArgs An EventArgs containing the event data.
리턴 void

PerformClick() 공개 메소드

Raises the Click event for the button.
public PerformClick ( ) : void
리턴 void

ToString() 공개 메소드

Obtains the String representation of this instance.
public ToString ( ) : string
리턴 string

UpdateButtonSpecMapping() 공개 메소드

Update the button spec manager mapping to reflect current settings.
public UpdateButtonSpecMapping ( ) : void
리턴 void

ViewDrawNavCheckButtonBase() 공개 메소드

Initialize a new instance of the ViewDrawNavCheckButtonBase class.
public ViewDrawNavCheckButtonBase ( KryptonNavigator navigator, KryptonPage page, VisualOrientation orientation ) : System
navigator KryptonNavigator Owning navigator instance.
page KryptonPage Page this check button represents.
orientation VisualOrientation Orientation for the check button.
리턴 System

ViewDrawNavCheckButtonBase() 공개 메소드

Initialize a new instance of the ViewDrawNavCheckButtonBase class.
public ViewDrawNavCheckButtonBase ( KryptonNavigator navigator, KryptonPage page, VisualOrientation orientation, IPaletteTriple stateDisabled, IPaletteTriple stateNormal, IPaletteTriple stateTracking, IPaletteTriple statePressed, IPaletteTriple stateSelected, IPaletteTriple stateFocused ) : System
navigator KryptonNavigator Owning navigator instance.
page KryptonPage Page this check button represents.
orientation VisualOrientation Orientation for the check button.
stateDisabled IPaletteTriple Source for disabled state values.
stateNormal IPaletteTriple Source for normal state values.
stateTracking IPaletteTriple Source for tracking state values.
statePressed IPaletteTriple Source for pressed state values.
stateSelected IPaletteTriple Source for selected state values.
stateFocused IPaletteTriple Source for focused state values.
리턴 System

ViewDrawNavCheckButtonBase() 공개 메소드

Initialize a new instance of the ViewDrawNavCheckButtonBase class.
public ViewDrawNavCheckButtonBase ( KryptonNavigator navigator, KryptonPage page, VisualOrientation orientation, bool overflow ) : System
navigator KryptonNavigator Owning navigator instance.
page KryptonPage Page this check button represents.
orientation VisualOrientation Orientation for the check button.
overflow bool Button is used on the overflow bar.
리턴 System

프로퍼티 상세

_overrideDisabled 보호되어 있는 프로퍼티

Override for accessing the disable state.
protected PaletteTripleOverride _overrideDisabled
리턴 PaletteTripleOverride

_overrideNormal 보호되어 있는 프로퍼티

Override for accessing the normal state.
protected PaletteTripleOverride _overrideNormal
리턴 PaletteTripleOverride

_overridePressed 보호되어 있는 프로퍼티

Override for accessing the pressed state.
protected PaletteTripleOverride _overridePressed
리턴 PaletteTripleOverride

_overrideSelected 보호되어 있는 프로퍼티

Override for accessing the selected state.
protected PaletteTripleOverride _overrideSelected
리턴 PaletteTripleOverride

_overrideTracking 보호되어 있는 프로퍼티

Override for accessing the tracking state.
protected PaletteTripleOverride _overrideTracking
리턴 PaletteTripleOverride