Spread Windows Forms 6.0 Product Documentation
IsReusable Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ButtonCellType Class : IsReusable Method


control

Glossary Item Box

Check if this celltype is reusable.

Syntax

Visual Basic (Declaration) 
Public Function IsReusable( _
   ByVal control As Control _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ButtonCellType
Dim control As Control
Dim value As Boolean
 
value = instance.IsReusable(control)
C# 
public bool IsReusable( 
   Control control
)

Parameters

control

Remarks

Button celltype is reusable only if its editor is FpButton. Any classes that inherit from button cell type should override this function and InitializeEditorControl if it wants to be reusable.

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.