How to add background image to grid layout?

I need to add background image to grid layout.
Tagged:

Best Answer

Answers

  • JohnHardmanJohnHardman GBUniversity mod
    edited November 2018

    @Suriya_Kalidoss said:
    I need to add background image to grid layout.

    Load the image into an Image, then position the Image to span all columns and all rows of the Grid.

  • Suriya_KalidossSuriya_Kalidoss Member ✭✭✭

    I can't able to understand could you please provide me code snippet

  • seanydaseanyda GBMember ✭✭✭✭✭

    @Suriya_Kalidoss said:
    I can't able to understand could you please provide me code snippet

     Grid test = new Grid();
    
                Grid.SetRowSpan(testItem, test.RowDefinitions.Count);
                Grid.SetColumnSpan(testItem, test.ColumnDefinitions.Count);
    
  • Suriya_KalidossSuriya_Kalidoss Member ✭✭✭

    IF it is XAML code it could be better



  • NMackayNMackay GBInsider, University mod
Sign In or Register to comment.