C# Class ComponentFactory.Krypton.Navigator.ViewletHeaderGroup

Provides HeaderGroup functionality.
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
ButtonSpecFromView ( ViewBase element ) : ButtonSpec

Gets the ButtonSpec associated with the provided view element.

Construct ( ViewBase filler ) : ViewDrawDocker

Construct the view appropriate for this builder.

DesignerGetHitTest ( Point pt ) : bool

Is the provided over a part of the view that wants the mouse.

Destruct ( ) : void

Destruct and cleanup the view hierarchy of the header group.

GetContextShowPoint ( ) : Point

Gets the screen coorindates for showing a context action menu.

NextActionEnabled ( DirectionButtonAction action ) : DirectionButtonAction

Get the appropriate action for the header group next action.

PostCreate ( ) : void

Perform actions required after the create of hierarchy is completed

PreviousActionEnabled ( DirectionButtonAction action ) : DirectionButtonAction

Get the appropriate action for the header group previous action.

UpdateButtons ( ) : void

Recreate the buttons to reflect a change in selected page.

UpdateStatePalettes ( ) : void

Ensure the correct state palettes are being used.

ViewBuilderPropertyChanged ( PropertyChangedEventArgs e ) : void

Process the change in a property that might effect the viewlet.

ViewletHeaderGroup ( KryptonNavigator navigator, PaletteRedirect redirector, NeedPaintHandler needPaintDelegate ) : System

Initialize a new instance of the ViewletHeaderGroup class.

Méthodes protégées

Méthode Description
GetHeaderSecondaryVisible ( ) : bool

Gets the visible state of the secondary header.

GetPrimaryValues ( ) : IContentValues

Gets the source of the primary header values.

GetSecondaryValues ( ) : IContentValues

Gets the source of the secondary header values.

Private Methods

Méthode Description
CreateButtonSpecManager ( ) : void
CreateDragDrop ( ) : void
CreateHeaderGroupView ( ViewBase filler ) : void
OnDragEnd ( object sender, PointEventArgs e ) : void
OnDragMove ( object sender, PointEventArgs e ) : void
OnDragQuit ( object sender, EventArgs e ) : void
OnDragStart ( object sender, DragStartEventCancelArgs e ) : void
OnLeftDoubleClick ( object sender, EventArgs e ) : void
OnLeftMouseDown ( object sender, EventArgs e ) : void
OnRightMouseDown ( object sender, EventArgs e ) : void
SetEnabled ( bool enabled ) : void
SetHeaderPosition ( ViewDrawCanvas canvas, ViewDrawContent content, VisualOrientation position ) : void
SetHeaderStyle ( ViewDrawDocker drawDocker, PaletteTripleMetricRedirect palette, HeaderStyle style ) : void
SetPalettes ( PaletteHeaderGroup palette ) : void
UpdateHeaders ( ) : void

Method Details

ButtonSpecFromView() public méthode

Gets the ButtonSpec associated with the provided view element.
public ButtonSpecFromView ( ViewBase element ) : ButtonSpec
element ViewBase Element to search against.
Résultat ComponentFactory.Krypton.Toolkit.ButtonSpec

Construct() public méthode

Construct the view appropriate for this builder.
public Construct ( ViewBase filler ) : ViewDrawDocker
filler ViewBase View element to fill in the header group.
Résultat ComponentFactory.Krypton.Toolkit.ViewDrawDocker

DesignerGetHitTest() public méthode

Is the provided over a part of the view that wants the mouse.
public DesignerGetHitTest ( Point pt ) : bool
pt Point Mouse point.
Résultat bool

Destruct() public méthode

Destruct and cleanup the view hierarchy of the header group.
public Destruct ( ) : void
Résultat void

GetContextShowPoint() public méthode

Gets the screen coorindates for showing a context action menu.
public GetContextShowPoint ( ) : Point
Résultat Point

GetHeaderSecondaryVisible() protected méthode

Gets the visible state of the secondary header.
protected GetHeaderSecondaryVisible ( ) : bool
Résultat bool

GetPrimaryValues() protected méthode

Gets the source of the primary header values.
protected GetPrimaryValues ( ) : IContentValues
Résultat IContentValues

GetSecondaryValues() protected méthode

Gets the source of the secondary header values.
protected GetSecondaryValues ( ) : IContentValues
Résultat IContentValues

NextActionEnabled() public méthode

Get the appropriate action for the header group next action.
public NextActionEnabled ( DirectionButtonAction action ) : DirectionButtonAction
action DirectionButtonAction Requested action.
Résultat DirectionButtonAction

PostCreate() public méthode

Perform actions required after the create of hierarchy is completed
public PostCreate ( ) : void
Résultat void

PreviousActionEnabled() public méthode

Get the appropriate action for the header group previous action.
public PreviousActionEnabled ( DirectionButtonAction action ) : DirectionButtonAction
action DirectionButtonAction Requested action.
Résultat DirectionButtonAction

UpdateButtons() public méthode

Recreate the buttons to reflect a change in selected page.
public UpdateButtons ( ) : void
Résultat void

UpdateStatePalettes() public méthode

Ensure the correct state palettes are being used.
public UpdateStatePalettes ( ) : void
Résultat void

ViewBuilderPropertyChanged() public méthode

Process the change in a property that might effect the viewlet.
public ViewBuilderPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs Property changed details.
Résultat void

ViewletHeaderGroup() public méthode

Initialize a new instance of the ViewletHeaderGroup class.
public ViewletHeaderGroup ( KryptonNavigator navigator, PaletteRedirect redirector, NeedPaintHandler needPaintDelegate ) : System
navigator KryptonNavigator Reference to navigator instance.
redirector ComponentFactory.Krypton.Toolkit.PaletteRedirect Palette redirector.
needPaintDelegate NeedPaintHandler Delegate for notifying paint requests.
Résultat System