зеркало из https://github.com/telerik/uwp-docs.git
Merge pull request #71 from telerik/kerpecheva/docs-updates
Small documentation updates
This commit is contained in:
Коммит
0e7e6af836
|
@ -11,15 +11,15 @@ position: 0
|
|||
# Implicit Styling
|
||||
|
||||
This article demonstrates how to style specific elements of the grid through implicit styles.
|
||||
The Style that defines the appearance of the element should be defined in the **Resources** of the grid
|
||||
and the **TargetType** property of the style specifies which element will be styled.
|
||||
Below are listed the parts that could be targetted.
|
||||
The Style that defines the appearance of the element should be defined in the **Resources** of the grid and the **TargetType** property of the style specifies which element will be styled.
|
||||
|
||||
Below are listed the parts that could be targeted.
|
||||
|
||||
>The following namespace has to be added to the Page: **xmlns:gridPrimitives="using:Telerik.UI.Xaml.Controls.Grid.Primitives"**
|
||||
|
||||
## Hover Control
|
||||
|
||||
This is how you can change the appearance of a Cell/Row(depends on the current SelectionUnit).
|
||||
This is how you can change the appearance of a Cell/Row(depends on the current SelectionUnit) when the mouse goes over it.
|
||||
|
||||
<telerikGrid:RadDataGrid.Resources>
|
||||
<Style TargetType="gridPrimitives:DataGridHoverControl">
|
||||
|
@ -28,18 +28,6 @@ This is how you can change the appearance of a Cell/Row(depends on the current S
|
|||
</Style>
|
||||
</telerikGrid:RadDataGrid.Resources>
|
||||
|
||||
## SelectionRegionBackground Control
|
||||
|
||||
This is how you can change the appearance of the Selected Cell/Row(depends on the current SelectionUnit).
|
||||
|
||||
<telerikGrid:RadDataGrid.Resources>
|
||||
<Style TargetType="gridPrimitives:SelectionRegionBackgroundControl">
|
||||
<Setter Property="Background" Value="Red"/>
|
||||
<Setter Property="BorderBrush" Value="Green"/>
|
||||
<Setter Property="BorderThickness" Value="2"/>
|
||||
</Style>
|
||||
</telerikGrid:RadDataGrid.Resources>
|
||||
|
||||
## SelectionRegionBorder Control
|
||||
|
||||
This is how you can change the appearance of the Selected Cell/Row(depends on the current SelectionUnit). This control overlays the decorations of the selected Cell/Row.
|
||||
|
@ -50,6 +38,20 @@ This is how you can change the appearance of the Selected Cell/Row(depends on th
|
|||
</Style>
|
||||
</telerikGrid:RadDataGrid.Resources>
|
||||
|
||||
## SelectionRegionBackground Control
|
||||
|
||||
This is how you can change the appearance of the Selected Cell/Row(depends on the current SelectionUnit).
|
||||
|
||||
<telerikGrid:RadDataGrid.Resources>
|
||||
<Style TargetType="gridPrimitives:SelectionRegionBackgroundControl">
|
||||
<Setter Property="Background" Value="Red"/>
|
||||
<Setter Property="BorderBrush" Value="Green"/>
|
||||
<Setter Property="BorderThickness" Value="2"/>
|
||||
</Style>
|
||||
</telerikGrid:RadDataGrid.Resources>
|
||||
|
||||
> Please keep in mind that SelectionRegionBorder control is rendered over the SelectionRegionBackground control.
|
||||
|
||||
## Currency Control
|
||||
|
||||
This is how you can change the appearance of the Currency Control, i.e. the appearance of the Current Item.
|
||||
|
|
|
@ -61,6 +61,6 @@ RadLoopingList can be put into a read only state via the **IsManipulationEnabled
|
|||
|
||||
## Events
|
||||
|
||||
RadLoopingList exposes two very simple events. These are **SelectedIndexChanged** and **ScrollCompleted**.
|
||||
ScrollCompleted is fired when the scrolling animation finishes. It is important to note that snapping also triggers this event.
|
||||
RadLoopingList exposes two very simple events. These are **SelectedIndexChanged** and **IsExpandedChanged**.
|
||||
IsExpandedChanged is raised when **IsExpanded** property of the control is updated.
|
||||
SelectedIndexChanged on the other hand fires when the user selects an item, when the **SelectedIndex** property of RadLoopingList is set through code and when the item is automatically centered and selected by the snapping feature.
|
||||
|
|
|
@ -22,5 +22,5 @@ Thank you for choosing **RadLoopingList**!
|
|||
- **Collapsing** - The looping list can be collapsed so that it displays only the selected item. The whole list collapses, hiding all items in the list except the selected item. The collapsing feature can be controlled with the IsExpanded property.
|
||||
- **Visual Item Customization** - The visual items in the looping list can be customized by providing a custom data template and assigning it to the ItemTemplate property. There is also an ItemStyle property which can be set to a style object if users need to provide more settings along with the data template.
|
||||
- **Read Only** - RadLoopingList can be put into a read only state via the IsManipulationEnabled property. This effectively enables or disables end-user interaction with the control. It can still be controlled programmatically.
|
||||
- **Events** - RadLoopingList provides two events out of the box. These are SelectedIndexChanged and ScrollCompleted. SelectedIndexChanged whenever an new item is selected, either programmatically or by the end user. ScrollComplete, as the name indicates, fires after the scrolling operation is complete.
|
||||
- **Events** - RadLoopingList provides two events out of the box. These are SelectedIndexChanged and IsExpandedChanged. SelectedIndexChanged fires whenever a new item is selected, either programmatically or by the end user. IsExpandedChanged, as the name indicates, fires after the IsExpanded property is updated.
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ This information is for our own purposes and do not sell or otherwise provide th
|
|||
|
||||
## How I can see what data about me is stored?
|
||||
|
||||
You can see the information stored for your account by sending request to us via the following form [GDPR Data Subject Access Rights Request](https://app.onetrust.com/app/#/webform/65e969b1-9755-4cb6-adbb-0ae5939fb132).
|
||||
You can see the information stored for your account by sending request to us via the following form [GDPR Data Subject Access Rights Request](https://app.onetrust.com/app/#/webform/7897e80a-b8a4-4797-883a-bdacfe1ab8e4).
|
||||
|
||||
## How I can delete the data stored about me?
|
||||
|
||||
You can request deletion of the information stored for your account by sending request to us via the following form [GDPR Data Subject Access Rights Request](https://app.onetrust.com/app/#/webform/65e969b1-9755-4cb6-adbb-0ae5939fb132).
|
||||
You can request deletion of the information stored for your account by sending request to us via the following form [GDPR Data Subject Access Rights Request](https://app.onetrust.com/app/#/webform/7897e80a-b8a4-4797-883a-bdacfe1ab8e4).
|
Загрузка…
Ссылка в новой задаче