R
R
Rinsewind2018-08-15 18:50:43
WPF
Rinsewind, 2018-08-15 18:50:43

How to set bitmap frame in WPF?

5b744ad4314cc312358556.png

</TextBox>
        <Border BorderThickness="8">
            <Border.BorderBrush>
                <ImageBrush ImageSource="Images/border.png"/>
            </Border.BorderBrush>
        </Border>

I'm trying to put a raster frame in this way. As long as the proportions are not distorted, everything works, but when stretched, the picture moves.
Is there no way to apply a border like in CSS?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question