GrapeCity MultiRow Windows Forms Documentation
TouchToolBar Property (Cell)


Gets or sets the touch toolbar associated with the cell for a touch device.
Syntax
<DefaultValueAttribute()>
<BrowsableAttribute(False)>
Public Overridable Property TouchToolBar As MultiRowTouchToolBar
Dim instance As Cell
Dim value As MultiRowTouchToolBar
 
instance.TouchToolBar = value
 
value = instance.TouchToolBar
[DefaultValue()]
[Browsable(false)]
public virtual MultiRowTouchToolBar TouchToolBar {get; set;}

Property Value

A MultiRowTouchToolBar value that represents the touch toolbar associated with the cell. The default is a null reference (Nothing in Visual Basic).
Remarks

This property indicates the touch toolbar that is typically displayed when the user presses and holds the cell or taps the cell which is already selected. Changing this property causes the GcMultiRow.CellTouchToolBarChanged event to occur.

You can handle the GcMultiRow's GcMultiRow.CellTouchToolBarNeeded event when the GcMultiRow.DataSource or GcMultiRow.VirtualMode property is set for the control. This is useful when working with large amounts of data to avoid performance penalties when setting the cell's TouchToolBar value for multiple cells.

You can also specify touch toolbars for individual sections rather than individual cells by setting the section's Section.TouchToolBar property or by handling the GcMultiRow control's GcMultiRow.SectionTouchToolBarNeeded event. Setting the cell's TouchToolBar property overrides the section's Section.TouchToolBar property setting, and the GcMultiRow.CellTouchToolBarNeeded event overrides both the SectionTouchToolBarNeeded event and the section's TouchToolBar property setting. You can specify a a null reference (Nothing in Visual Basic) for a cell's touch toolbar; however, to prevent a section's touch toolbar from being overridden.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Cell Class
Cell Members
TouchToolBar Property
TouchToolBar Property
CellTouchToolBarChanged Event
CellTouchToolBarNeeded Event
SectionTouchToolBarNeeded Event

 

 


Copyright © GrapeCity, inc. All rights reserved.