I have to set the border to the left and the width I am trying to use margin
b.Margin = new thickness (PBX, B. margin. Top, B. margin. Right, B. margin.bottom); But if I set the width property, then the border is placed in a strange position ... (half screen + half to the left which I want).
How can I do the trick?
Thanks
var totalAvailableWidth = ...; // You have to get it somewhere Var Margin Right = Total Available Width - pb.X - Width; B Margin = new thickness (PBX, B. margin.Tap, margin right, B. margin.bottom);
Comments
Post a Comment