locked
How to edit XAML images RRS feed

  • Question

  • I'd like to edit some icons of the Visual Studio 2019 Image Library.

    I loaded the XAML files into Expression Blend for Visual Studio, but I can only select the image as a whole. I found no way to edit the geometry drawings inside the image.

    Is it possible to do this with Blend or do I need another tool?

    XAML example:

    <Viewbox Width="16" Height="16" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
      <Rectangle Width="16" Height="16">
        <Rectangle.Fill>
          <DrawingBrush>
            <DrawingBrush.Drawing>
              <DrawingGroup>
                <DrawingGroup.Children>
                  <GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M11.5,7C11.045,7,10.614,7.088,10.2,7.214L12.414,5 7.414,0 1.586,0 4.586,3 0,3 0,7 4.586,7 1.586,10 7.276,10C7.108,10.472 7,10.972 7,11.5 7,13.981 9.019,16 11.5,16 13.981,16 16,13.981 16,11.5 16,9.019 13.981,7 11.5,7" />
                  <GeometryDrawing Brush="#FF414141" Geometry="F1M7,1L4,1 7,4 1,4 1,6 7,6 4,9 7,9 11,5z" />
                  <GeometryDrawing Brush="#FF1AA1E2" Geometry="F1M12,10L11,10 11,9 12,9z M12,14L11,14 11,11 12,11z M11.5,8C9.567,8 8,9.567 8,11.5 8,13.433 9.567,15 11.5,15 13.433,15 15,13.433 15,11.5 15,9.567 13.433,8 11.5,8" />
                  <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1M11,10L12,10 12,9 11,9z M11,14L12,14 12,10.999 11,10.999z" />
                </DrawingGroup.Children>
              </DrawingGroup>
            </DrawingBrush.Drawing>
          </DrawingBrush>
        </Rectangle.Fill>
      </Rectangle>
    </Viewbox>



    • Edited by mixmike Tuesday, March 10, 2020 1:27 PM
    Tuesday, March 10, 2020 1:27 PM