Skip to content

height/width based on html content #123

Open
@schmitch

Description

@schmitch

currently it would be great to actually fit a webview into a specific template, so that the html height/width will be set as the height of the webview.

this would enable to use native wpf scrollbars for a nice looking webview.

example, we have the following code:

<Grid Width="{Binding ElementName=ArticleFields, Path=ActualWidth}">
<wpf:WebView  Width="Auto" Height="CalculatedHeight" VerticalAlignment="Stretch"/>
</Grid>

while we try to get the CalculatedHeight based on the rendered document. it would be easier if the webview would support that nativly since it knows the inner document size.

AB#25254454

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestfeature requesttrackedWe are tracking this work internally.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions