C# Class FarsiLibrary.Win.BaseClasses.BaseControl

Inheritance: BaseStyledControl, INotifyPropertyChanged
Afficher le fichier Open project: HEskandari/FarsiLibrary

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddError ( string errorMsg ) : void

Adds an error to the control.

ClearErrors ( ) : void

Clears the errors.

Refresh ( ) : void

Refreshes the control if it is not in locked mode. BaseStyledControl.BeginUpdate, BaseStyledControl.EndUpdate and BaseStyledControl.CancelUpdate methods.

ShouldSerializeFont ( ) : bool

Decides to serialize the Font property or not.

Méthodes protégées

Méthode Description
BaseControl ( ) : System

Creates a new instance of BaseControl class.

FocusNextControl ( ) : void

Focuses the next control on the form.

OnEnter ( EventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnLayoutChanged ( ) : void
OnLeave ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnNextScrollItems ( MouseEventArgs e ) : void
OnNextScrollItems ( object sender, KeyEventArgs e ) : void
OnPreviousScrollItems ( MouseEventArgs e ) : void
OnPreviousScrollItems ( object sender, KeyEventArgs e ) : void
OnPropertyChanged ( string propertyName ) : void
OnReadOnlyStateChanged ( ) : void
OnResize ( EventArgs e ) : void
OnRightToLeftChanged ( EventArgs e ) : void
OnSystemColorsChanged ( EventArgs e ) : void
OnValueChanged ( ) : void
OnValueValidating ( ValueValidatingEventArgs e ) : void

Method Details

AddError() public méthode

Adds an error to the control.
public AddError ( string errorMsg ) : void
errorMsg string The error MSG.
Résultat void

BaseControl() protected méthode

Creates a new instance of BaseControl class.
protected BaseControl ( ) : System
Résultat System

ClearErrors() public méthode

Clears the errors.
public ClearErrors ( ) : void
Résultat void

FocusNextControl() protected méthode

Focuses the next control on the form.
protected FocusNextControl ( ) : void
Résultat void

OnEnter() protected méthode

protected OnEnter ( EventArgs e ) : void
e EventArgs
Résultat void

OnGotFocus() protected méthode

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
Résultat void

OnLayoutChanged() protected méthode

protected OnLayoutChanged ( ) : void
Résultat void

OnLeave() protected méthode

protected OnLeave ( EventArgs e ) : void
e EventArgs
Résultat void

OnLostFocus() protected méthode

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseEnter() protected méthode

protected OnMouseEnter ( EventArgs e ) : void
e EventArgs
Résultat void

OnMouseLeave() protected méthode

protected OnMouseLeave ( EventArgs e ) : void
e EventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseWheel() protected méthode

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnNextScrollItems() protected méthode

protected OnNextScrollItems ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnNextScrollItems() protected méthode

protected OnNextScrollItems ( object sender, KeyEventArgs e ) : void
sender object
e KeyEventArgs
Résultat void

OnPreviousScrollItems() protected méthode

protected OnPreviousScrollItems ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPreviousScrollItems() protected méthode

protected OnPreviousScrollItems ( object sender, KeyEventArgs e ) : void
sender object
e KeyEventArgs
Résultat void

OnPropertyChanged() protected méthode

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
Résultat void

OnReadOnlyStateChanged() protected méthode

protected OnReadOnlyStateChanged ( ) : void
Résultat void

OnResize() protected méthode

protected OnResize ( EventArgs e ) : void
e EventArgs
Résultat void

OnRightToLeftChanged() protected méthode

protected OnRightToLeftChanged ( EventArgs e ) : void
e EventArgs
Résultat void

OnSystemColorsChanged() protected méthode

protected OnSystemColorsChanged ( EventArgs e ) : void
e EventArgs
Résultat void

OnValueChanged() protected méthode

protected OnValueChanged ( ) : void
Résultat void

OnValueValidating() protected méthode

protected OnValueValidating ( ValueValidatingEventArgs e ) : void
e ValueValidatingEventArgs
Résultat void

Refresh() public méthode

Refreshes the control if it is not in locked mode. BaseStyledControl.BeginUpdate, BaseStyledControl.EndUpdate and BaseStyledControl.CancelUpdate methods.
public Refresh ( ) : void
Résultat void

ShouldSerializeFont() public méthode

Decides to serialize the Font property or not.
public ShouldSerializeFont ( ) : bool
Résultat bool