Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Change the size of a window #64

Closed
draco951 opened this Issue · 3 comments

3 participants

draco951 Lex Li Ryan Rastedt
draco951

Hello :-)

Do you know how can i change the size (height precisely) of a window ? (DockContent)

i've tried this : this.Height = this.Height + 100;

But nothing happen.

An idea ?

Lex Li
Owner

In most cases you should not do that in code. What do you attempt to achieve?

draco951

I would like to enlarge the window to access to hidden button.

Like a drawer i can open and close by cliking on a button, when it's open, there is more functionnality than when it's close

Ryan Rastedt
Owner

DockPanel.DockLeftPortion (as well matching properties for the other three sides) control the amount of space taken by the contents docked in those spaces. If the content is hidden, it's size when it unhides is controlled by the AutoHidePortion property on the DockContent.

Ryan Rastedt roken closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.