locked
Can I use new to create InkPresenter dynamicly when app run? RRS feed

  • Question

  • Can I use new to create InkPresenter dynamicly when app run? I also want to set the position and size of the InkPresenter. 
    Saturday, February 15, 2014 11:30 AM

Answers

  • Yes. Anything you can create in Xaml you can create in code. New it up and then parent it to an existing control. Like in Xaml, the position will depend on its container.

    --Rob

    • Marked as answer by yang2013yang Thursday, February 20, 2014 4:50 AM
    Saturday, February 15, 2014 4:02 PM

All replies

  • Yes. Anything you can create in Xaml you can create in code. New it up and then parent it to an existing control. Like in Xaml, the position will depend on its container.

    --Rob

    • Marked as answer by yang2013yang Thursday, February 20, 2014 4:50 AM
    Saturday, February 15, 2014 4:02 PM
  • Thanks,it's just my need,Could you give me some codes?I know the principle but don't code it. I want to control it's size  and row and coum and so on in the Grid .

    Saturday, February 15, 2014 11:46 PM