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

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -