c# - Expander IsExpanded method -
i want know if expander expanded or not. this:
boolean getexpanderstatus= myexpander.isexpanded()
but not work "non -invocable 'system.windows.controls.expander.isexpanded' cannot used method.
i'm sure there'll annoyingly simple answer this.
thanks in advance.
isexpanded
property, not method.
properties behave variables; don't use parentheses.
Comments
Post a Comment