C# 클래스 Habanero.Faces.Win.ErrorProviderWin

Provides a user interface for indicating that a control on a form has an error associated with it
상속: System.Windows.Forms.ErrorProvider, IErrorProvider
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

메소드 설명
GetError ( IControlHabanero objControl ) : string

Returns the current error description string for the specified control.

GetIconAlignment ( IControlHabanero objControl ) : ErrorIconAlignmentHabanero

Gets a value indicating where the error icon should be placed in relation to the control.

GetIconPadding ( IControlHabanero objControl ) : int

Returns the amount of extra space to leave next to the error icon.

SetError ( IControlHabanero objControl, string strValue ) : void

Sets the error description string for the specified control.

SetIconAlignment ( IControlHabanero objControl, ErrorIconAlignmentHabanero enmValue ) : void

Sets the location where the error icon should be placed in relation to the control.

SetIconPadding ( IControlHabanero objControl, int intPadding ) : void

Sets the amount of extra space to leave between the specified control and the error icon.

보호된 메소드들

메소드 설명
GetControl ( IControlHabanero objControl ) : Control

메소드 상세

GetControl() 보호된 메소드

protected GetControl ( IControlHabanero objControl ) : Control
objControl IControlHabanero
리턴 System.Windows.Forms.Control

GetError() 공개 메소드

Returns the current error description string for the specified control.
control is null.
public GetError ( IControlHabanero objControl ) : string
objControl IControlHabanero The item to get the error description string for.
리턴 string

GetIconAlignment() 공개 메소드

Gets a value indicating where the error icon should be placed in relation to the control.
control is null.
public GetIconAlignment ( IControlHabanero objControl ) : ErrorIconAlignmentHabanero
objControl IControlHabanero The control to get the icon location for.
리턴 ErrorIconAlignmentHabanero

GetIconPadding() 공개 메소드

Returns the amount of extra space to leave next to the error icon.
control is null.
public GetIconPadding ( IControlHabanero objControl ) : int
objControl IControlHabanero The control to get the padding for.
리턴 int

SetError() 공개 메소드

Sets the error description string for the specified control.
control is null.
public SetError ( IControlHabanero objControl, string strValue ) : void
objControl IControlHabanero The control to set the error description string for.
strValue string The error description string.
리턴 void

SetIconAlignment() 공개 메소드

Sets the location where the error icon should be placed in relation to the control.
control is null.
public SetIconAlignment ( IControlHabanero objControl, ErrorIconAlignmentHabanero enmValue ) : void
objControl IControlHabanero The control to set the icon location for.
enmValue ErrorIconAlignmentHabanero One of the values.
리턴 void

SetIconPadding() 공개 메소드

Sets the amount of extra space to leave between the specified control and the error icon.
control is null.
public SetIconPadding ( IControlHabanero objControl, int intPadding ) : void
objControl IControlHabanero The control to set the padding for.
intPadding int The number of pixels to add between the icon and the control.
리턴 void