UWP - Resize SymbolIcon The SymbolIcon class represents an icon that uses a glyph from the Segoe MDL2 Assets font as its content. The SymbolIcon class’s Symbol property gets or sets the Segoe MDL2 Assets glyph used as the icon content. The following UWP application development tutorial code will demonstrate how we can use SymbolIcon in an application. Mainly we demonstrate how we can resize a SymbolIcon control. Firstly, we used the Viewbox control to resize a SymbolIcon control, we put the SymbolIcon as a child control of the Viewbox container. And secondly, we resize SysmbolIcon using the CompositeTransform class and UIElement class’s RenderTransform property. The Viewbox class defines a content decorator that can stretch and scale a single child to fill the available space. The Viewbox class’s Stretch property gets or sets the Stretch mode, which determines how content fits into the available space. The Viewbox class’s StretchDirection proper...
Android, .NET C#, Flutter, and Many More Programming tutorials.