wou I finally found the correct answer:
SizeToContent="WidthAndHeight"
and whole XAML:
<Window Name="wnd_001" x:Class="WpfApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"...
Hi,
I am using MS VS 2019 v16.9.5, C#/WPF and I can not understand to window size. See the picture below. Height of whole window is 400pixels - the label 400 is on the right side of the window. Inside the client area of my window is a grid with 2 rows with heights 100 and 300...
Hi,
I tried to create a Grid with two columns and two rows. A left bottom Cell (0,1) has size 400x300px - see the image below. I tried to insert an oblong of size 100x300 into the cell, but the oblong is too large. :) I do not understand why ? The Height of the cell is 300, the Height of the...
here is complette cource code ... can someone repair it ?
here is the source code - complette, MS VS 2019 16.9.5
https://drive.google.com/file/d/1FW8idaRjbeGu4bXj2q-dVXRBOcYLwtQu/view?usp=sharing
Hello,
I have a smallproblem. The shape of window in WPF in visual designer does not correspond to running state. There is no visible right ScrollBar. Can someone hlep me why ?
Designer:
Running App:_
And XAMLcode:
<Window x:Class="WpfApp.MainWindow"...
Hi,
here is my short code in MS VS 2019 C# WPF - MVVM, can someone please explain me:
1/ where is pointed my code to after "return _SaveCommand;" which is placed to "public ICommand SaveCommand" property ? It is classic MVVM.
2/ And who is caller of "CommandManager.RequerySuggested += value;"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.