C# 클래스 ComponentFactory.Krypton.Toolkit.KryptonLabel

상속: VisualSimpleBase, IContentValues
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명
OnLabelTextChanged void
ResetLabelStyle void
ShouldSerializeLabelStyle bool
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool
ShouldSerializeText bool
ShouldSerializeValues bool

공개 메소드들

메소드 설명
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.

KryptonLabel ( ) : System

Initialize a new instance of the KryptonLabel class.

ResetText ( ) : void

Resets the Text property to its default value.

SetFixedState ( PaletteState state ) : void

Fix the control to a particular palette state.

보호된 메소드들

메소드 설명
EvalTransparentPaint ( ) : bool

Work out if this control needs to paint transparent areas.

OnClick ( EventArgs e ) : void

Raises the Click event.

OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles a change in the property of an attached command.

OnEnabledChanged ( EventArgs e ) : void

Raises the EnabledChanged event.

OnKryptonCommandChanged ( EventArgs e ) : void

Raises the KryptonCommandChanged event.

ProcessMnemonic ( char charCode ) : bool

Processes a mnemonic character.

SetLabelStyle ( LabelStyle style ) : void

Update the view elements based on the requested label style.

비공개 메소드들

메소드 설명
OnLabelTextChanged ( object sender, EventArgs e ) : void
ResetLabelStyle ( ) : void
ShouldSerializeLabelStyle ( ) : bool
ShouldSerializeStateCommon ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateNormal ( ) : bool
ShouldSerializeText ( ) : bool
ShouldSerializeValues ( ) : bool

메소드 상세

EvalTransparentPaint() 보호된 메소드

Work out if this control needs to paint transparent areas.
protected EvalTransparentPaint ( ) : bool
리턴 bool

GetImage() 공개 메소드

Gets the content image.
public 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 GetLongText ( ) : string
리턴 string

GetShortText() 공개 메소드

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

KryptonLabel() 공개 메소드

Initialize a new instance of the KryptonLabel class.
public KryptonLabel ( ) : System
리턴 System

OnClick() 보호된 메소드

Raises the Click event.
protected OnClick ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
리턴 void

OnCommandPropertyChanged() 보호된 메소드

Handles a change in the property of an attached command.
protected OnCommandPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object Source of the event.
e System.ComponentModel.PropertyChangedEventArgs A PropertyChangedEventArgs that contains the event data.
리턴 void

OnEnabledChanged() 보호된 메소드

Raises the EnabledChanged event.
protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
리턴 void

OnKryptonCommandChanged() 보호된 메소드

Raises the KryptonCommandChanged event.
protected OnKryptonCommandChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

ProcessMnemonic() 보호된 메소드

Processes a mnemonic character.
protected ProcessMnemonic ( char charCode ) : bool
charCode char The mnemonic character entered.
리턴 bool

ResetText() 공개 메소드

Resets the Text property to its default value.
public ResetText ( ) : void
리턴 void

SetFixedState() 공개 메소드

Fix the control to a particular palette state.
public SetFixedState ( PaletteState state ) : void
state PaletteState Palette state to fix.
리턴 void

SetLabelStyle() 보호된 메소드

Update the view elements based on the requested label style.
protected SetLabelStyle ( LabelStyle style ) : void
style LabelStyle New label style.
리턴 void