C# Class DXVcs2Git.GitTools.VsDevExpressMenuItem

Show file Open project: Xarlot/DXVcs2Git Class Usage Examples

Public Properties

Property Type Description
ItemsInternal List

Public Methods

Method Description
CreateItem ( bool isPopup ) : VsDevExpressMenuItem
CreateOrGetItem ( string header, bool isPopup = false ) : VsDevExpressMenuItem
DeleteItem ( ) : void
OnButtonClick ( System.Windows.Forms.CommandBarButton ctrl, bool &cancelDefault ) : void
OnShortcutTextChanged ( ) : void
VsDevExpressMenuItem ( ) : System

Protected Methods

Method Description
CreateChildrenFromSource ( ) : void
OnHeaderChanged ( string oldValue ) : void
OnIconChanged ( Image oldValue ) : void
OnToolTipChanged ( string oldValue ) : void
OnVSSourceChanged ( object oldValue ) : void
RaiseClickEvent ( ) : void
UpdateHeader ( ) : void
UpdateIcon ( ) : void
UpdateToolTip ( ) : void
VsDevExpressMenuItem ( System.Windows.Forms.CommandBarControl source ) : System

Private Methods

Method Description
GetItemByHeader ( string header ) : VsDevExpressMenuItem

Method Details

CreateChildrenFromSource() protected method

protected CreateChildrenFromSource ( ) : void
return void

CreateItem() public method

public CreateItem ( bool isPopup ) : VsDevExpressMenuItem
isPopup bool
return VsDevExpressMenuItem

CreateOrGetItem() public method

public CreateOrGetItem ( string header, bool isPopup = false ) : VsDevExpressMenuItem
header string
isPopup bool
return VsDevExpressMenuItem

DeleteItem() public method

public DeleteItem ( ) : void
return void

OnButtonClick() public method

public OnButtonClick ( System.Windows.Forms.CommandBarButton ctrl, bool &cancelDefault ) : void
ctrl System.Windows.Forms.CommandBarButton
cancelDefault bool
return void

OnHeaderChanged() protected method

protected OnHeaderChanged ( string oldValue ) : void
oldValue string
return void

OnIconChanged() protected method

protected OnIconChanged ( Image oldValue ) : void
oldValue Image
return void

OnShortcutTextChanged() public method

public OnShortcutTextChanged ( ) : void
return void

OnToolTipChanged() protected method

protected OnToolTipChanged ( string oldValue ) : void
oldValue string
return void

OnVSSourceChanged() protected method

protected OnVSSourceChanged ( object oldValue ) : void
oldValue object
return void

RaiseClickEvent() protected method

protected RaiseClickEvent ( ) : void
return void

UpdateHeader() protected method

protected UpdateHeader ( ) : void
return void

UpdateIcon() protected method

protected UpdateIcon ( ) : void
return void

UpdateToolTip() protected method

protected UpdateToolTip ( ) : void
return void

VsDevExpressMenuItem() public method

public VsDevExpressMenuItem ( ) : System
return System

VsDevExpressMenuItem() protected method

protected VsDevExpressMenuItem ( System.Windows.Forms.CommandBarControl source ) : System
source System.Windows.Forms.CommandBarControl
return System

Property Details

ItemsInternal public property

public List ItemsInternal
return List