How do I change the location of a model ?

Each model has a particular location in the scene. In order to move the model around the scene, rotate the model or to change it’s size, it is not practical to change the vertices of a model like the 2D objects. Instead 3D models have the ‘Transform’ property with which you can move the models, change their sizes or rotate them.

In what way CombinedGeometry is used ?

CombinedGeometry is used to combine two geometries. By updating the GeometryCombineMode property, along with Union, Intersect, Exclude and Xor options, we can achieve CombinedGeometry. This can be done with the following code snippets. Reference link: https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/how-to-create-a-combined-geometry

How do I apply BitmapEffect to a particular area of an Image ?

BitmapEffect can be applied to a particular area of an Image using the ‘BitmapEffectInput’ property of the ‘Image’ class. ‘AreaToApplyEffect’ property of the BitmapEffectInput markup extension is used to specify the area and ‘AreaToApplyEffectUnits’ property is used to specify the units. The following lines of code are used to apply BitmapEffect to a lower part of the image. [XAML] <Image Source=’pda.ico’ Height=’160′ Width=’160′> <Image.BitmapEffect> <BevelBitmapEffect BevelWidth=’10’ EdgeProfile=’BulgedUp’/> </Image.BitmapEffect> <Image.BitmapEffectInput> <BitmapEffectInput AreaToApplyEffect=’0,0.5,1,0.5′ AreaToApplyEffectUnits=’RelativeToBoundingBox’/> </Image.BitmapEffectInput> </Image>

What is the order in which the controls are rendered ?

The visual tree determines the rendering order of WPF visual and drawing objects. The rendering order of traversal starts with the root visual, which is the top most element in the root visual tree. The root visual’s children are then traversed, left to right. Find the following button control rendering order in visual tree. Reference link: https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/wpf-graphics-rendering-overview

How do I use DrawingVisual object ?

In order to use DrawingVisual objects, you need to create a host container to store the DrawingVisual objects. Find the following code snippets, [C#] public class VisualHostContainer : FrameworkElement { private VisualCollection _myVisualCollection; public VisualHostContainer() { _myVisualCollection = new VisualCollection(this); _myVisualCollection.Add(CreateDrawingVisualRectangle()); _myVisualCollection.Add(CreateDrawingVisualText()); } } Reference link: https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/using-drawingvisual-objects