locked
How to create a dashed line for cell border

    Question

  • Hi,

    Is anyone know How to apply the style for cell border to get the dotted line in WinRT 

    In WPF i will get the dotted line for cell border using this way.

                        <DrawingBrush Viewport="0,0,20,20" ViewportUnits="Absolute" TileMode="Tile">
                            <DrawingBrush.Drawing>
                                <DrawingGroup>
                                    <GeometryDrawing Brush="Black">
                                        <GeometryDrawing.Geometry>
                                            <GeometryGroup>
                                                <RectangleGeometry Rect="0,0,50,50" />
                                                <RectangleGeometry Rect="50,50,50,50" />
                                            </GeometryGroup>
                                        </GeometryDrawing.Geometry>
                                    </GeometryDrawing>
                                </DrawingGroup>
                            </DrawingBrush.Drawing>
                        </DrawingBrush>
     

    Thanks in Advance,



    • Edited by Mohanrajmj93 Thursday, February 12, 2015 8:21 AM
    • Moved by CoolDadTxMVP Thursday, February 12, 2015 3:29 PM WinStore related
    Thursday, February 12, 2015 6:14 AM

Answers

  • check this thread: 

    http://stackoverflow.com/questions/14673643/windows-store-apps-how-to-draw-a-dashed-line


    Fouad Roumieh

    Thursday, February 12, 2015 12:25 PM