Skip to content

Set the Dialog with dynamic height and width #53

Closed Answered by SKProCH
bearyung asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, @bearyung

Seems like this is can be dome via positioners. This is a custom classes which can arrange dialoghost popup in some ways. E.g.:

<dialogHostAvalonia:DialogHost>
...
    <dialogHostAvalonia:DialogHost.PopupPositioner>
        <positioners:AlignmentDialogPopupPositioner HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="16"/>
    </dialogHostAvalonia:DialogHost.PopupPositioner>
</dialogHostAvalonia:DialogHost>

Would fit you expectations.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@bearyung
Comment options

@bearyung
Comment options

@SKProCH
Comment options

@SKProCH
Comment options

@bearyung
Comment options

Answer selected by bearyung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants