C# Класс ComponentFactory.Krypton.Navigator.ViewletHeaderGroup

Provides HeaderGroup functionality.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

ButtonSpecFromView() публичный Метод

Gets the ButtonSpec associated with the provided view element.
public ButtonSpecFromView ( ViewBase element ) : ButtonSpec
element ViewBase Element to search against.
Результат ComponentFactory.Krypton.Toolkit.ButtonSpec

Construct() публичный Метод

Construct the view appropriate for this builder.
public Construct ( ViewBase filler ) : ViewDrawDocker
filler ViewBase View element to fill in the header group.
Результат ComponentFactory.Krypton.Toolkit.ViewDrawDocker

DesignerGetHitTest() публичный Метод

Is the provided over a part of the view that wants the mouse.
public DesignerGetHitTest ( Point pt ) : bool
pt Point Mouse point.
Результат bool

Destruct() публичный Метод

Destruct and cleanup the view hierarchy of the header group.
public Destruct ( ) : void
Результат void

GetContextShowPoint() публичный Метод

Gets the screen coorindates for showing a context action menu.
public GetContextShowPoint ( ) : Point
Результат Point

GetHeaderSecondaryVisible() защищенный Метод

Gets the visible state of the secondary header.
protected GetHeaderSecondaryVisible ( ) : bool
Результат bool

GetPrimaryValues() защищенный Метод

Gets the source of the primary header values.
protected GetPrimaryValues ( ) : IContentValues
Результат IContentValues

GetSecondaryValues() защищенный Метод

Gets the source of the secondary header values.
protected GetSecondaryValues ( ) : IContentValues
Результат IContentValues

NextActionEnabled() публичный Метод

Get the appropriate action for the header group next action.
public NextActionEnabled ( DirectionButtonAction action ) : DirectionButtonAction
action DirectionButtonAction Requested action.
Результат DirectionButtonAction

PostCreate() публичный Метод

Perform actions required after the create of hierarchy is completed
public PostCreate ( ) : void
Результат void

PreviousActionEnabled() публичный Метод

Get the appropriate action for the header group previous action.
public PreviousActionEnabled ( DirectionButtonAction action ) : DirectionButtonAction
action DirectionButtonAction Requested action.
Результат DirectionButtonAction

UpdateButtons() публичный Метод

Recreate the buttons to reflect a change in selected page.
public UpdateButtons ( ) : void
Результат void

UpdateStatePalettes() публичный Метод

Ensure the correct state palettes are being used.
public UpdateStatePalettes ( ) : void
Результат void

ViewBuilderPropertyChanged() публичный Метод

Process the change in a property that might effect the viewlet.
public ViewBuilderPropertyChanged ( PropertyChangedEventArgs e ) : void
e System.ComponentModel.PropertyChangedEventArgs Property changed details.
Результат void

ViewletHeaderGroup() публичный Метод

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.
Результат System