GridViewControl
Namespace: TagBites.WinSchedulers
Assembly: TagBites.WinSchedulers.dll
Provides the base class from which the classes that represent grid view controls are derived.
public abstract class GridViewControl : System.Windows.Controls.Panel
Constructors
GridViewControl()
Initializes a new instance of the TagBites.WinSchedulers.GridViewControl class.
public void GridViewControl()
Result Type: void
Fields
MouseDoubleClickEvent
Identifies the System.Windows.Controls.Control.MouseDoubleClick routed event.
public RoutedEvent MouseDoubleClickEvent
Result Type: RoutedEvent
PreviewMouseDoubleClickEvent
Identifies the System.Windows.Controls.Control.PreviewMouseDoubleClick routed event.
public RoutedEvent PreviewMouseDoubleClickEvent
Result Type: RoutedEvent
Properties
BottomLeftSection
Gets or sets the bottom left section of this TagBites.WinSchedulers.GridViewControl object.
public GridViewSection BottomLeftSection { get; set; }
Result Type: GridViewSection
BottomRightSection
Gets or sets the bottom right section of this TagBites.WinSchedulers.GridViewControl object.
public GridViewSection BottomRightSection { get; set; }
Result Type: GridViewSection
CalculateStart
Gets a value indicating the date time of starting a last rendering.
public DateTime CalculateStart { get; }
Result Type: DateTime
Children
public UIElementCollection Children { get; }
Result Type: UIElementCollection
ColumnHeaderSections
Gets a collection of column header section.
public IList<GridViewHeaderSection> ColumnHeaderSections { get; }
Result Type: IList<GridViewHeaderSection>
ColumnSummarySections
Gets a collection of column summary section.
public IList<GridViewHeaderSection> ColumnSummarySections { get; }
Result Type: IList<GridViewHeaderSection>
ContentSection
Gets or sets the content section of this TagBites.WinSchedulers.GridViewControl object.
public GridViewSection ContentSection { get; set; }
Result Type: GridViewSection
DrawingCache
The cache for drawing objects.
public DrawingCache DrawingCache { get; }
Result Type: DrawingCache
HorizontalScroller
protected internal GridViewScroller HorizontalScroller { get; }
Result Type: GridViewScroller
LastCalculateDuration
Gets a value indicating the duration of a last preparation.
public TimeSpan LastCalculateDuration { get; }
Result Type: TimeSpan
LastRenderDuration
Gets a value indicating the duration of a last rendering.
public TimeSpan LastRenderDuration { get; }
Result Type: TimeSpan
RowHeaderSections
Gets a collection of row header section.
public IList<GridViewHeaderSection> RowHeaderSections { get; }
Result Type: IList<GridViewHeaderSection>
RowSummarySections
Gets a collection of row summary section.
public IList<GridViewHeaderSection> RowSummarySections { get; }
Result Type: IList<GridViewHeaderSection>
Sections
Gets a collection of the sections defined by this TagBites.WinSchedulers.GridViewControl object.
public IEnumerable<GridViewSection> Sections { get; }
Result Type: IEnumerable<GridViewSection>
TopLeftSection
Gets or sets the top left section of this TagBites.WinSchedulers.GridViewControl object.
public GridViewSection TopLeftSection { get; set; }
Result Type: GridViewSection
TopRightSection
Gets or sets the top right section of this TagBites.WinSchedulers.GridViewControl object.
public GridViewSection TopRightSection { get; set; }
Result Type: GridViewSection
VerticalScroller
protected internal GridViewScroller VerticalScroller { get; }
Result Type: GridViewScroller
ViewStyle
Gets the style of the drawing. <returns>A TagBites.WinSchedulers.GridViewStyle that represents the style of the drawing.</returns>
public GridViewStyle ViewStyle { get; }
Result Type: GridViewStyle
Window
Gets the object with columns and rows.
public GridViewWindow Window { get; }
Result Type: GridViewWindow
Methods
ArrangeOverride(Size)
protected Size ArrangeOverride(Size arrangeSize)
Result Type: Size
Parameters
Type | Name | |
---|---|---|
Size | arrangeSize |
ClearToolTip()
Clears ToolTip control.
protected void ClearToolTip()
Result Type: void
OnKeyDown(KeyEventArgs)
protected void OnKeyDown(KeyEventArgs e)
Result Type: void
Parameters
Type | Name | |
---|---|---|
KeyEventArgs | e |
OnMouseDoubleClick(MouseButtonEventArgs)
Raises the System.Windows.Controls.Control.MouseDoubleClick routed event.
protected void OnMouseDoubleClick(MouseButtonEventArgs e)
Result Type: void
Parameters
Type | Name | |
---|---|---|
MouseButtonEventArgs | e | The event data. |
OnMouseDown(MouseButtonEventArgs)
protected void OnMouseDown(MouseButtonEventArgs e)
Result Type: void
Parameters
Type | Name | |
---|---|---|
MouseButtonEventArgs | e |
OnMouseUp(MouseButtonEventArgs)
protected void OnMouseUp(MouseButtonEventArgs e)
Result Type: void
Parameters
Type | Name | |
---|---|---|
MouseButtonEventArgs | e |
OnMouseWheel(MouseWheelEventArgs)
protected void OnMouseWheel(MouseWheelEventArgs e)
Result Type: void
Parameters
Type | Name | |
---|---|---|
MouseWheelEventArgs | e |
OnPreviewMouseDoubleClick(MouseButtonEventArgs)
Raises the System.Windows.Controls.Control.PreviewMouseDoubleClick routed event.
protected void OnPreviewMouseDoubleClick(MouseButtonEventArgs e)
Result Type: void
Parameters
Type | Name | |
---|---|---|
MouseButtonEventArgs | e | The event data. |
OnRender(DrawingContext)
protected void OnRender(DrawingContext dc)
Result Type: void
Parameters
Type | Name | |
---|---|---|
DrawingContext | dc |
PrepareContentCore(GridViewWindow)
Prepares control content with specified columns and rows
protected void PrepareContentCore(GridViewWindow view)
Result Type: void
Parameters
Type | Name | |
---|---|---|
GridViewWindow | view | A that represents the object with columns and rows. |
PrepareHeaders()
Prepares control headers.
protected void PrepareHeaders()
Result Type: void
RefreshView()
Refreshes control view.
public void RefreshView()
Result Type: void
SetElement(GridViewElement&, GridViewElement)
protected bool SetElement(ref GridViewElement element, GridViewElement value)
Result Type: bool
Parameters
Type | Name | |
---|---|---|
GridViewElement& | element | |
GridViewElement | value |
ShowToolTip(Rect, object)
Sets the ToolTip content and then displays the ToolTip modally in the specified bounds.
protected void ShowToolTip(Rect bounds, object value)
Result Type: void
Parameters
Type | Name | |
---|---|---|
Rect | bounds | The rectangular area relative to which the tooltip control is positioned when it opens. |
object | value | The content of the tooltip control. |
Events
MouseDoubleClick
Occurs when a mouse button is clicked two or more times.
public MouseButtonEventHandler MouseDoubleClick
Result Type: MouseButtonEventHandler
PreviewMouseDoubleClick
Occurs when a user clicks the mouse button two or more times.
public MouseButtonEventHandler PreviewMouseDoubleClick
Result Type: MouseButtonEventHandler