How to limit the rows and columns of ShowGridLines in WPF Grid?
By default, ShowGridLines will be applied to all rows and columns, is there any way to set the rows and columns that ShowGridLines is effective?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately this is not possible, the ShowGridLines feature is pretty basic and only an on/off switch.
You could consider breaking up into multiple Grid objects where not all show them.