wpf - Simulating Textbox BorderBrush for a Border -
i need border
have borderbrush
default textbox
has. should changed while mouse on , when element within border focused.
right near border
, there textbox
default style. tried code, works @ normal state.
<border borderbrush="{binding path=borderbrush, elementname=txtname}" borderthickness="{binding path=borderthickness, elementname=txtname}"> ... </border> <textbox x:name="txtname"/>
first of need find out brush textbox style using when you're hovering (check default style).
then can define own style border trigger when mouseover true set borderbrush , borderthickness appropiate values.
Comments
Post a Comment