---
title: "How can I make a curve (rounded) corner grid?"  
description: "How can I make a curve (rounded) corner grid?"  
author: "Takeshi Okada"  
published: 2013-07-18  
updated: 2013-07-19  
canonical: https://www.mindstick.com/forum/1322/how-can-i-make-a-curve-rounded-corner-grid  
category: "xml"  
tags: ["xml"]  
reading_time: 1 minute  

---

# How can I make a curve (rounded) corner grid?

HI [mindstick](https://yourviews.mindstick.com/view/84668/how-mindstick-is-used-for-marketing-purposes)!

I tried and it [sets](https://www.mindstick.com/forum/161923/explain-about-the-python-sets) a new border above the [grid](https://www.mindstick.com/forum/369/how-can-i-add-a-column-name-to-my-grid) border:

```
<Window x:Class="Class.Window"        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"        Title="Window1" Width="379" Loaded="Window_Loaded"        AllowsTransparency="True"        ResizeMode="NoResize" ShowInTaskbar="False" Topmost="True" WindowStyle="None" Height="110">       <Border BorderBrush="Black" BorderThickness="1,1,1,1" CornerRadius="30,30,30,30">        <Grid>            <TextBlock Height="23" HorizontalAlignment="Left" Margin="62,12,0,0" Name="textBlock_From" Text="" VerticalAlignment="Top" Width="283" />            <TextBlock Height="23" HorizontalAlignment="Left" Margin="62,38,0,0" Name="textBlock_Subject" Text="" VerticalAlignment="Top" Width="283"                       MouseLeftButtonDown="textBlock_Subject_MouseLeftButtonDown" MouseEnter="textBlock_Subject_MouseEnter" MouseLeave="textBlock_Subject_MouseLeave" />        </Grid>    </Border></Window>
```

thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)

\

## Replies

### Reply by shreesh chandra shukla

Solution!

As it is not entirely clear what you are trying to do, I guess you want a window with rounded corners and transparent background. Your solution is correct, you just have to set the Window background transparency and a background for the Border.

```
<Window x:Class="Class.Window"   
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    Title="Window1"
Width="379" Loaded="Window_Loaded"   
AllowsTransparency="True"   
ResizeMode="NoResize" ShowInTaskbar="False"
Topmost="True" WindowStyle="None" Height="110"
Background="Transparent">   
    <Border
Background="White" BorderBrush="Black" BorderThickness="1,1,1,1"
CornerRadius="30,30,30,30">        <Grid>           
<TextBlock Height="23" HorizontalAlignment="Left"
Margin="62,12,0,0" Name="textBlock_From" Text=""
VerticalAlignment="Top" Width="283" />           
<TextBlock Height="23" HorizontalAlignment="Left"
Margin="62,38,0,0" Name="textBlock_Subject"
Text="" VerticalAlignment="Top" Width="283"                   MouseLeftButtonDown="textBlock_Subject_MouseLeftButtonDown"
MouseEnter="textBlock_Subject_MouseEnter" MouseLeave="textBlock_Subject_MouseLeave"
/>        </Grid>    </Border></Window>
```

\


---

Original Source: https://www.mindstick.com/forum/1322/how-can-i-make-a-curve-rounded-corner-grid

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
