This commit is contained in:
PROGRESS\kerpecheva 2018-11-08 16:07:53 +02:00
Родитель 713570b56d
Коммит 2d82a953a5
8 изменённых файлов: 30 добавлений и 9 удалений

Просмотреть файл

@ -44,4 +44,10 @@ Here's the data:
{
public string Event { get; set; }
public DateTime Date { get; set; }
}
}
In addition, you could use **CellContentFormat** to format the time using any of the [.NET Standard Date and Time Format Strings](https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings).
Here is a quick example:
<grid:DataGridDateColumn PropertyName="Date" Header="Date" CellContentFormat="{}{0:M}" />

Просмотреть файл

@ -45,4 +45,10 @@ Here's the data:
{
public string Lecture { get; set; }
public DateTime Time { get; set; }
}
}
In addition, you could use **CellContentFormat** to format the time using any of the [.NET Standard Date and Time Format Strings](https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings).
Here is a quick example:
<grid:DataGridTimeColumn PropertyName="Time" Header="Start" CellContentFormat="{}{0:T}" />

Просмотреть файл

@ -25,6 +25,7 @@ Here is an example of how to add a PropertyAggregateDescriptor to a RadDataGrid.
You will need to define the telerikCore namespace like this
xmlns:telerikGrid="using:Telerik.UI.Xaml.Controls.Grid"
xmlns:telerikCore="using:Telerik.Data.Core"
>You can get the aggregate value/s through the GetAggregateValue and GetAggregateValues methods of the [IDataView]({%slug raddatagrid-dataview%}) interface.

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 11 KiB

После

Ширина:  |  Высота:  |  Размер: 5.0 KiB

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 20 KiB

После

Ширина:  |  Высота:  |  Размер: 18 KiB

Просмотреть файл

@ -42,13 +42,17 @@ And set the KeyLookup property to this class:
<grid:RadDataGrid Width="600" Height="460" x:Name="grid">
<grid:RadDataGrid.GroupDescriptors>
<grid:DelegateGroupDescriptor>
<grid:DelegateGroupDescriptor.KeyLookup>
<telerikCore:DelegateGroupDescriptor>
<telerikCore:DelegateGroupDescriptor.KeyLookup>
<local:CustomIKeyLookup/>
</grid:DelegateGroupDescriptor.KeyLookup>
</grid:DelegateGroupDescriptor>
</telerikCore:DelegateGroupDescriptor.KeyLookup>
</telerikCore:DelegateGroupDescriptor>
</grid:RadDataGrid.GroupDescriptors>
</grid:RadDataGrid>
where *telerikCore* namespace is:
xmlns:telerikCore="using:Telerik.Data.Core"
As you can see, in this case the key we return is the first letter from each City.

Просмотреть файл

@ -30,10 +30,14 @@ First, define a DataGrid instance in XAML with a PropertyGroupDescriptor which p
<grid:RadDataGrid Width="600" Height="460" x:Name="grid">
<grid:RadDataGrid.GroupDescriptors>
<grid:PropertyGroupDescriptor PropertyName="Country" />
</grid:RadDataGrid.GroupDescriptors>
<telerikCore:PropertyGroupDescriptor PropertyName="Country" />
</grid:RadDataGrid.GroupDescriptors>
</grid:RadDataGrid>
where *telerikCore* namespace is:
xmlns:telerikCore="using:Telerik.Data.Core"
Next, create sample data and add it to the DataContext of our DataGrid:
List<Data> data = new List<Data>

Просмотреть файл

@ -32,7 +32,7 @@ The Telerik Dashboard application displays some real-world usages of the data vi
You can find the Telerik Dashboard source code on couple places.
* In the Telerik UI for Universal Windows Platform installation folder.
You can open the installation folder. The dashboard example is located in the following folder *~\Telerik\UI for Universal Windows Platform RX 201X\SampleApps\SalesDashboard.UWP*.
You can open the installation folder. The dashboard example is located in the following folder *~\Progress\Telerik UI for UWP RX 201X\SampleApps\SalesDashboard.UWP*.
* Under the download page of your **Telerik** account.