Xceed Grid for WinForms v4.3 Documentation
ExecuteFunction(CalculatorFunctions,Boolean,Boolean) Method


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinCalculator Class > ExecuteFunction Method : ExecuteFunction(CalculatorFunctions,Boolean,Boolean) Method
A CalculatorFunctions value representing the mathematical function to execute.
true if the function's corresponding button should be flashed when the specified function is executed; false otherwise.
true if the function should be executed even if its associated button is disabled; false otherwise.
Executes the specified mathematical function indicating if the corresponding button should be flashed and the function executed even if its associated button is disabled.
Syntax
'Declaration
 
Public Overloads Sub ExecuteFunction( _
   ByVal function As CalculatorFunctions, _
   ByVal flashButton As Boolean, _
   ByVal forceFunction As Boolean _
) 
'Usage
 
Dim instance As WinCalculator
Dim function As CalculatorFunctions
Dim flashButton As Boolean
Dim forceFunction As Boolean
 
instance.ExecuteFunction(function, flashButton, forceFunction)
public void ExecuteFunction( 
   CalculatorFunctions function,
   bool flashButton,
   bool forceFunction
)

Parameters

function
A CalculatorFunctions value representing the mathematical function to execute.
flashButton
true if the function's corresponding button should be flashed when the specified function is executed; false otherwise.
forceFunction
true if the function should be executed even if its associated button is disabled; false otherwise.
Remarks

If the ExecuteFunction method is called with its forceFunction parameter set to false while its associated button is disabled, an System.InvalidOperationException will be thrown.

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

WinCalculator Class
WinCalculator Members
Overload List