C# Class FarsiLibrary.Win.BaseClasses.BaseControl

Inheritance: BaseStyledControl, INotifyPropertyChanged
Show file Open project: HEskandari/FarsiLibrary

Private Properties

Property Type Description

Public Methods

Method 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.

Protected Methods

Method 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 method

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

BaseControl() protected method

Creates a new instance of BaseControl class.
protected BaseControl ( ) : System
return System

ClearErrors() public method

Clears the errors.
public ClearErrors ( ) : void
return void

FocusNextControl() protected method

Focuses the next control on the form.
protected FocusNextControl ( ) : void
return void

OnEnter() protected method

protected OnEnter ( EventArgs e ) : void
e EventArgs
return void

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
return void

OnLayoutChanged() protected method

protected OnLayoutChanged ( ) : void
return void

OnLeave() protected method

protected OnLeave ( EventArgs e ) : void
e EventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( EventArgs e ) : void
e EventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e EventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnNextScrollItems() protected method

protected OnNextScrollItems ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnNextScrollItems() protected method

protected OnNextScrollItems ( object sender, KeyEventArgs e ) : void
sender object
e KeyEventArgs
return void

OnPreviousScrollItems() protected method

protected OnPreviousScrollItems ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPreviousScrollItems() protected method

protected OnPreviousScrollItems ( object sender, KeyEventArgs e ) : void
sender object
e KeyEventArgs
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
return void

OnReadOnlyStateChanged() protected method

protected OnReadOnlyStateChanged ( ) : void
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e EventArgs
return void

OnRightToLeftChanged() protected method

protected OnRightToLeftChanged ( EventArgs e ) : void
e EventArgs
return void

OnSystemColorsChanged() protected method

protected OnSystemColorsChanged ( EventArgs e ) : void
e EventArgs
return void

OnValueChanged() protected method

protected OnValueChanged ( ) : void
return void

OnValueValidating() protected method

protected OnValueValidating ( ValueValidatingEventArgs e ) : void
e ValueValidatingEventArgs
return void

Refresh() public method

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

ShouldSerializeFont() public method

Decides to serialize the Font property or not.
public ShouldSerializeFont ( ) : bool
return bool