remove red rectangle around combobox

前端 未结 3 591
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-24 11:59

i need to remove red rectangle around combobox. I have setup combobox in xaml like (below) this and i`m trying to override of the Validation.ErrorTemplate.

          


        
3条回答
  •  执念已碎
    2020-12-24 12:46

    The setter in your trigger is setting the Visibility property of an element named "NotValid". That is not defined in the XAML you posted. If there is no element named "NotValid", that is your problem.

提交回复
热议问题