Spread Windows Forms 6.0 Product Documentation
InColumnBar Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > RangeGroupHitTestInformation Class : InColumnBar Property


Glossary Item Box

Gets whether the location refers to an outline (range group) column bar area.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property InColumnBar As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RangeGroupHitTestInformation
Dim value As Boolean
 
value = instance.InColumnBar
C# 
public bool InColumnBar {get;}

Example

The example returns whether the location refers to range group column bar area.
C#Copy Code
private void fpSpread1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) 
{
FarPoint.Win.Spread.RangeGroupHitTestInformation rght;
FarPoint.Win.Spread.HitTestInformation ht;
ht = fpSpread1.HitTest(e.X, e.Y);
rght = ht.RangeGroupInfo;
bool b = rght.InColumnBar;
bool b2 = rght.InColumnPanel;
MessageBox.Show(b.ToString() + " - " + b2.ToString());
}
Visual BasicCopy Code
Private Sub FpSpread1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles FpSpread1.MouseDown
Dim rght As FarPoint.Win.Spread.RangeGroupHitTestInformation
Dim ht As FarPoint.Win.Spread.HitTestInformation
ht = FpSpread1.HitTest(e.X, e.Y)
rght = ht.RangeGroupInfo
Dim b As Boolean = rght.InColumnBar
Dim b2 As Boolean = rght.InColumnPanel
MsgBox(b.ToString() & " - " & b2.ToString())
End Sub

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.