Context Button

A single button (Add / Edit / Delete) with the same style as the Context Buttons control.

Namespace: LSOne.Controls

Assembly: LSOne.Controls

Syntax

public class ContextButton : ContextButtonButton

ContexButton - all possible variants

 

ContextButton example

 

Constructors

Name Description
ContextButton() Default constructor.

 

Properties

Name Description
Context

Gets or sets the type of the button to be displayed:

  • Add
  • AddDouble
  • Edit
  • MoveDown
  • MoveUp
  • Remove
Image The image displayed on the button

 

Methods

Name Description
GetImage(LSOne.Controls.ButtonType) Returns the image associated with a button type

 

Events

Name Description
*inherited from UserControl  

 

Examples

 

See Source\SM\Plugins\RetailItems\ViewPages\ItemViewGeneralPage.cs from DevPack for usage examples.

 

See also