Skip to content

Commit ad8f28f

Browse files
committed
Merge commit '52e5d06c4b8cd1301627aba30d1ac032345cbe15'
2 parents fc6f182 + 52e5d06 commit ad8f28f

File tree

8 files changed

+97
-1
lines changed

8 files changed

+97
-1
lines changed

WPFDemo/CairwellalnalweYemkerekera/MainWindow.xaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,19 @@
2222
</TextBlock>
2323
<DataGrid IsReadOnly="True">
2424
<DataGrid.Columns>
25-
<DataGridHyperlinkColumn Binding="{Binding}"></DataGridHyperlinkColumn>
25+
<DataGridTemplateColumn>
26+
<DataGridTemplateColumn.CellTemplate>
27+
<DataTemplate>
28+
<Grid>
29+
<TextBlock>
30+
<Run Text="text with "></Run>
31+
<Run FontWeight="Bold" Text="Strongger "></Run>
32+
<Run Text="content"></Run>
33+
</TextBlock>
34+
</Grid>
35+
</DataTemplate>
36+
</DataGridTemplateColumn.CellTemplate>
37+
</DataGridTemplateColumn>
2638
<DataGridTextColumn ElementStyle="{StaticResource elementStyle}" Binding="{Binding}"></DataGridTextColumn>
2739
</DataGrid.Columns>
2840
<DataGrid.Items>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Application x:Class="HainehibelayLojicolako.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:local="clr-namespace:HainehibelayLojicolako"
5+
StartupUri="MainWindow.xaml">
6+
<Application.Resources>
7+
8+
</Application.Resources>
9+
</Application>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System.Configuration;
2+
using System.Data;
3+
using System.Windows;
4+
5+
namespace HainehibelayLojicolako;
6+
7+
/// <summary>
8+
/// Interaction logic for App.xaml
9+
/// </summary>
10+
public partial class App : Application
11+
{
12+
}
13+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System.Windows;
2+
3+
[assembly:ThemeInfo(
4+
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
5+
//(used if a resource is not found in the page,
6+
// or application resource dictionaries)
7+
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
8+
//(used if a resource is not found in the page,
9+
// app, or any theme specific resource dictionaries)
10+
)]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>WinExe</OutputType>
5+
<TargetFramework>net10.0-windows</TargetFramework>
6+
<Nullable>enable</Nullable>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<UseWPF>true</UseWPF>
9+
</PropertyGroup>
10+
11+
</Project>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<Solution>
2+
<Project Path="HainehibelayLojicolako.csproj" />
3+
</Solution>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Window x:Class="HainehibelayLojicolako.MainWindow"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6+
xmlns:local="clr-namespace:HainehibelayLojicolako"
7+
mc:Ignorable="d"
8+
Title="MainWindow" Height="200" Width="200">
9+
<Grid>
10+
<Grid.RowDefinitions>
11+
<RowDefinition Height="Auto" />
12+
</Grid.RowDefinitions>
13+
<TextBox x:Name="MyTextBox" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalContentAlignment="Top" FontSize="14.0" TextAlignment="Left" TextWrapping="Wrap"></TextBox>
14+
</Grid>
15+
</Window>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using System.Text;
2+
using System.Windows;
3+
using System.Windows.Controls;
4+
using System.Windows.Data;
5+
using System.Windows.Documents;
6+
using System.Windows.Input;
7+
using System.Windows.Media;
8+
using System.Windows.Media.Imaging;
9+
using System.Windows.Navigation;
10+
using System.Windows.Shapes;
11+
12+
namespace HainehibelayLojicolako;
13+
14+
/// <summary>
15+
/// Interaction logic for MainWindow.xaml
16+
/// </summary>
17+
public partial class MainWindow : Window
18+
{
19+
public MainWindow()
20+
{
21+
InitializeComponent();
22+
}
23+
}

0 commit comments

Comments
 (0)