User Tools

Site Tools


macros:function:math.enumasstringequalityconverter

Function

Math.EnumAsStringEqualityConverter

Boolean Math.EnumAsStringEqualityConverter(string StringToCheckAgainst)
API currently not in the API
description ASSUMPTION this checks if the string representation of a parameter of type Enum equals to a given string and returns true if it does
namespace Math
parameter StringToCheckAgainst ( String ) : string to compare the parameter with
parameter ( String ) : the property to check whether it matches the string. This needs to be set separately, see example
Example in

Fan - Parts:

<active binding="{propertyLink id='Programmer.Editor.Fixtures.Fan.SegmentCount' 
  converter='Math.EnumAsStringEqualityConverter'
  converterParameter='1'}"/>
Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/math.enumasstringequalityconverter.txt · Last modified: 2020/04/02 20:42 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki