Is it possible to enhance dynamic content with silverlight?

I am new to Silverlight and I am wondering how to increase dynamic content. For example, I have a canvas and several lists and I want to enlarge it.

0


a source to share


1 answer


Yes.

Every visual in Silverlight has several different ways to transform it. Scaling can be applied by adding a ScaleTransform object to renderTransform objects.



<Canvas>
     <Canvas.RenderTransform>
          <ScaleTransform ScaleX="2" ScaleY="2" />
     </Canvas.RenderTransform>
     <ListBox />
</Canvas>

      

The above XAML will scale everything inside the Canvas (in this case only the ListBox). ListBox will behave just like ListBox.

+1


a source







All Articles