Answer to Question #3795 in WPF for taqi
Question #3795
wpf inkcanvas contains ink strokes and uielements , is it possible to activate uielement in ink mode ?
example assume i added a 'video control uielement' inside inkcanvas, now am in inkmode. what i want is when i draw using ink, it will draw. when i click on the area of video control, i want video control to be activated instead of drawing.
currently what i am doing is if i need to activate video control, i have to change inkmode to 'select', then i can play with the uielement. If i need to draw again i have to change its mode to ink.
Why can't i identify the area on which am start drawing i.e. plain area / uielement occupied area , if plain area then draw, if uielement area then select uielement instead of draw.
example assume i added a 'video control uielement' inside inkcanvas, now am in inkmode. what i want is when i draw using ink, it will draw. when i click on the area of video control, i want video control to be activated instead of drawing.
currently what i am doing is if i need to activate video control, i have to change inkmode to 'select', then i can play with the uielement. If i need to draw again i have to change its mode to ink.
Why can't i identify the area on which am start drawing i.e. plain area / uielement occupied area , if plain area then draw, if uielement area then select uielement instead of draw.
Expert's answer
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Need a fast expert's response?
Submit orderand get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment