windows phone - Strategy for sharing markup between XAML pages -


i creating windows phone 8 application need share pivot items between multiple pages, e.g.

  • page1: sectiona, sectionb, sectionc
  • page2: sectiona, sectionb
  • page3: sectionc
  • […]

are there best practices avoiding duplicated code/markup in such cases?

creating user control great way share code between pages. way creating .xaml file xaml in it.(no .cs file , no header information)


Comments

Popular posts from this blog

java - Cast from Object to List<String>: CastClassException -

How to set a border for android Imageview in Longpress? -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -