Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion controls/dragdropmanager/dragdroppayloadmanager.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ In the handler method where the payload is generated you will need to attach a D
}
```

>tipThe DataConverter can convert objects from multiple types to multiple types inside its __ConvertTo()__ method. You will need to check if the format is the desired one as well as if the needed data is present. The __GetConvertToFormats()__ method should return a collection of the supported formats to convert to, so the control can accept or prevent the drop when the dragged object cannot be converted to the required format.
>tip The DataConverter can convert objects from multiple types to multiple types inside its __ConvertTo()__ method. You will need to check if the format is the desired one as well as if the needed data is present. The __GetConvertToFormats()__ method should return a collection of the supported formats to convert to, so the control can accept or prevent the drop when the dragged object cannot be converted to the required format.

In the __DragInitialize__ handler itself you will need to pass to the DragDropPayloadManager an instance of the converter that will be carried by the payload within the events and used when needed:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -674,9 +674,9 @@ Finally, you should populate your __RadGridView__ with sample data and attach t
End Sub
```

>tipYou can download a __runnable project__ on the previous example from our online SDK repository [here](https://github.com/telerik/xaml-sdk/tree/master/GridView/DragDropWithLines).
>tip You can download a __runnable project__ on the previous example from our online SDK repository [here](https://github.com/telerik/xaml-sdk/tree/master/GridView/DragDropWithLines).

>You can also check the [SDK Samples Browser]({%slug sdk-samples-browser%}) that provides a more convenient approach in exploring and executing the examples in the Telerik XAML SDK repository.

>tipYou can also check the implementation of {% if site.site_name == 'Silverlight' %} [Reorder Rows demo](https://demos.telerik.com/silverlight/#GridView/RowReorder)/[Tree to Grid demo](https://demos.telerik.com/silverlight/#DragAndDrop/TreeToGrid){% endif %}{% if site.site_name == 'WPF' %} __Tree to Grid/Reorder Rows__ [WPF Demos](https://demos.telerik.com/wpf/#DragAndDrop/RowReorder){% endif %}.
>tip You can also check the implementation of {% if site.site_name == 'Silverlight' %} [Reorder Rows demo](https://demos.telerik.com/silverlight/#GridView/RowReorder)/[Tree to Grid demo](https://demos.telerik.com/silverlight/#DragAndDrop/TreeToGrid){% endif %}{% if site.site_name == 'WPF' %} __Tree to Grid/Reorder Rows__ [WPF Demos](https://demos.telerik.com/wpf/#DragAndDrop/RowReorder){% endif %}.

2 changes: 1 addition & 1 deletion controls/radautocompletebox/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ __Example 1: Modify the collection with the found results from the event argumen
}
```

>tipYou can remove and add items from the e.Results collection or sort and filter them.
>tip You can remove and add items from the e.Results collection or sort and filter them.
2 changes: 1 addition & 1 deletion controls/radautocompletebox/features/highlightbehavior.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ __Overriding FindHighlightedIndex__
End Function
```

>tipIf you don't want to highlight any of the filtered items you should return __-1__ in the __FindHighlightedIndex()__ method.
>tip If you don't want to highlight any of the filtered items you should return __-1__ in the __FindHighlightedIndex()__ method.

>If the returned index from the __FindHighlightedIndex()__ method goes out of range - no item will be highlighted (the index of the highlighted item will be set to -1).

Expand Down
2 changes: 1 addition & 1 deletion controls/radautocompletebox/features/selection.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The __SelectedItem__ property corresponds to the item the user has selected when

__SelectedItems__ is a collection of items containing all selected items in the control when SelectionMode is set to Multiple.

>importantThe __SelectedItems__ collection will always contain a single item when SelectionMode is set to Single and you change the selected item. When in Multiple selection mode, __SelectedItem__ will be set to the first item added to the selected items that is still included in the selection.
>important The __SelectedItems__ collection will always contain a single item when SelectionMode is set to Single and you change the selected item. When in Multiple selection mode, __SelectedItem__ will be set to the first item added to the selected items that is still included in the selection.

**Example 1** demonstrates how to get ahold of the selected items and also determine which item was selected first when in Multiple selection mode.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Binding to __RadAutoCompleteBox__ involves the following property:

To bind the __RadAutoCompleteBox__ to a collection of business objects, you should use its __ItemsSource__ property. If you want the changes to the collection to be automatically reflected to the RadAutoCompleteBox items, the collection should implement the __INotifyCollectionChanged__ interface. There is a build-in collection in {% if site.site_name == 'Silverlight' %}Silverlight{% endif %}{% if site.site_name == 'WPF' %}WPF{% endif %}, which implements the __INotifyCollectionChanged__ interface and you could use it without making any effort - this is the generic __ObservableCollection<T>__. However, to get a full benefit from the change notification support, your custom business objects should implement the __INotifyPropertyChanged__ interface.

>tipConsider using __ObservableCollection<T>__ or one of the other existing collection classes like __List<T>__, __Collection<T>__, instead of implementing your own collection. If the scenario requires a custom collection to be implemented, use the __IList__ interface, which provides individual access by index to its items and the best performance.
>tip Consider using __ObservableCollection<T>__ or one of the other existing collection classes like __List<T>__, __Collection<T>__, instead of implementing your own collection. If the scenario requires a custom collection to be implemented, use the __IList__ interface, which provides individual access by index to its items and the best performance.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The following example will guide you through the process of binding your RadAuto

* [Using DisplayMemberPath and TextSearchPath](#using-displaymemberpath-and-textsearchpath)

>tipBefore proceeding with this tutorial you should get familiar with the [Data Binding]({%slug radautocompletebox-populating-with-data-binding-support-overview%}) support of the RadAutoCompleteBox control.
>tip Before proceeding with this tutorial you should get familiar with the [Data Binding]({%slug radautocompletebox-populating-with-data-binding-support-overview%}) support of the RadAutoCompleteBox control.

## Binding the ItemsSource

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The __Flag__ property should be of type string and will be bound to the __Source

After that you need to create the ViewModel and populate it with some data.

>tipMore detailed information how to bind __RadAutoCompleteBox__ to an object could be found [here]({%slug radautocompletebox-populating-with-data-binding-to-object%}).
>tip More detailed information how to bind __RadAutoCompleteBox__ to an object could be found [here]({%slug radautocompletebox-populating-with-data-binding-to-object%}).

Next a valid DataTemplate with the correct bindings for the __Name__ and __Flag__ property of the ItemsSource items should be created:

Expand Down
2 changes: 1 addition & 1 deletion controls/radbusyindicator/features/custom-busy-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ In the code behind you have to:

* Disable the __RadBusyIndicator__ by setting its __IsBusy__ property to __False__ in a specific condition.

>tipYou can also create a [determined RadBusyIndicator]({%slug radbusyindicator-features-report-progress-value%}) control which provides a straightforward way to report a changing progress value.
>tip You can also create a [determined RadBusyIndicator]({%slug radbusyindicator-features-report-progress-value%}) control which provides a straightforward way to report a changing progress value.

>In order to use the __DispatcherTimer__ and the __INotifyPropertyChanged__ interface you will need to add the following usings/imports:
>* __System.ComponentModel__
Expand Down
2 changes: 1 addition & 1 deletion controls/radbusyindicator/features/delayed-display.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ __Defining RadBusyIndicator and a Button as content__

Finally, in the code-behind you have to handle the click event for the button and activate the __RadBusyIndicator__ control:

>tipTo read more about enabling the __RadBusyIndicator__ look [here]({%slug radbusyindicator-features-enabling-the-indicator%}).
>tip To read more about enabling the __RadBusyIndicator__ look [here]({%slug radbusyindicator-features-enabling-the-indicator%}).

__Enable RadBusyIndicator__

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You can data bind this property in any way that suits your custom logic. The __R

__RadBusyIndicator__ also gives you the __IsBusyIndicationVisible__ property. It is a read only boolean property which value will be equal to __True__ whenever the __RadBusyIndicator__ is enabled and the busy content is still visualized.

>tipTo read more about the possible scenarios where you can use the __IsBusyIndicationVisible__ property, [look here]({%slug radbusyindicator-how-to-restore-the-focus%}).
>tip To read more about the possible scenarios where you can use the __IsBusyIndicationVisible__ property, [look here]({%slug radbusyindicator-how-to-restore-the-focus%}).

## See Also

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The default scenario is the second one - the __RadBusyIndicator__ is indetermine

If you need a determined __RadBusyIndicator__ you have to set the value of the __IsIndeterminated__ property to __False__. In this case you can modify the __ProgressValue__ property, which will indicate how much of the predefined time have already elapsed. You can set its value through XAML or code-behind. However, to get the most out of it, you have to bind it to a percentage value (between 0 and 100) indicating the state of the ongoing process.

>tipRead more about reporting the current stage of loading via the __ProgressValue__ property [here]({%slug radbusyindicator-features-report-progress-value%}).
>tip Read more about reporting the current stage of loading via the __ProgressValue__ property [here]({%slug radbusyindicator-features-report-progress-value%}).

Here is an example of creating a determined __RadBusyIndicator__ control:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ __Setting IsIndeterminate__

Notice that you have also defined the __ProgressValue__ property. For the purpose of this example, by using data binding you have bound it to a property named in the same way located in the code-behind. Through this binding you will be changing this property to report any shifts in the __RadBusyIndicator's__ progress value.

>tipYou can further change the default way of the progress changes notifications by customizing the [Busy Content]({%slug radbusyindicator-features-custom-busy-content%}).
>tip You can further change the default way of the progress changes notifications by customizing the [Busy Content]({%slug radbusyindicator-features-custom-busy-content%}).

In the code behind you have to:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Here is a snapshot of the final result:

* The first thing you have to do is to declare the __RadWindow__ and set its content to be the __RadBusyIndicator__ content control as long as you want to show the indicator over the __RadWindow__ control.

>tipWe will create __RadWindow__ as a user control, the approach is explained in details [here]({%slug radwindow-how-to-use-radwindow-as-user-control%}).
>tip We will create __RadWindow__ as a user control, the approach is explained in details [here]({%slug radwindow-how-to-use-radwindow-as-user-control%}).

__RadWindow declaration__

Expand Down
4 changes: 2 additions & 2 deletions controls/radbusyindicator/how-to/modify-default-placement.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ position: 0

# Modify the default placement

>tipBefore reading this topic, you might find it useful to get familiar with the [Template Structure of the RadBusyIndicator]({%slug radbusyindicator-styles-and-templates-template-structure%}) control.
>tip Before reading this topic, you might find it useful to get familiar with the [Template Structure of the RadBusyIndicator]({%slug radbusyindicator-styles-and-templates-template-structure%}) control.

This topic will show you how to change the default placement of the __RadBusyIndicator__ busy content. By default it appears centered on top of the actual content. In some scenarios you may need to align it differently. In order to do this you will have to slightly modify the __RadBusyIndicator's__ default template.

* The first thing you have to do is to generate the __RadBusyIndicator's__ default template. Load your project in Expression Blend and open the User Control that holds the __RadBusyIndicator__. In the 'Objects and Timeline' pane select the __RadBusyIndicator__ you want to style. From the menu choose *Object -> Edit Template -> Edit a Copy*. You will be prompted for the name of the style and where to be placed.

>tipIf you choose to define the style in Application, it would be available for the entire application. This allows you to define a style only once and then reuse it where needed.After clicking 'OK', Expression Blend will generate the default style of the __RadBusyIndicator__ control in the __Resources__ section of your User Control.
>tip If you choose to define the style in Application, it would be available for the entire application. This allows you to define a style only once and then reuse it where needed.After clicking 'OK', Expression Blend will generate the default style of the __RadBusyIndicator__ control in the __Resources__ section of your User Control.

* Navigate to the "Indicator" element, which as it is described in the [template structure]({%slug radbusyindicator-styles-and-templates-template-structure%}) is of type __Border__ and hosts the __RadBusyIndicator's__ progress bar and busy content.

Expand Down
2 changes: 1 addition & 1 deletion controls/radbusyindicator/styles-and-templates/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This section is intended to give you a broad understanding of the possible ways

>To learn about how to change the control's theme using Implicit Styles, please read the common [Setting a Theme (Using Implicit Styles)]({%slug styling-apperance-implicit-styles-overview%}) topic.

>tipTo learn how to edit the default ControlTemplates read the common topic about [Editing Control Templates]({%slug styling-apperance-editing-control-templates%}).
>tip To learn how to edit the default ControlTemplates read the common topic about [Editing Control Templates]({%slug styling-apperance-editing-control-templates%}).

You can modify the look of the __RadBusyIndicator__ by either changing some of the resources exposed by the API, or by modifying its __ControlTemplate__. In the control template you are allowed to reorder the template parts and to add your own elements. However, when changing the control template you should be careful to include all required parts.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ position: 4

# Setting the OverlayStyle

>tipBefore reading this topic, you might find it useful to get familiar with the [Template Structure of the RadBusyIndicator]({%slug radbusyindicator-styles-and-templates-template-structure%}) control.
>tip Before reading this topic, you might find it useful to get familiar with the [Template Structure of the RadBusyIndicator]({%slug radbusyindicator-styles-and-templates-template-structure%}) control.

The __RadBusyIndicator__ exposes a __OverlayStyle__ property which allows you to apply a style to the __Rectangle__ element overlaying the __RadBusyIndicator's__ content while the indicator is active.

Expand Down Expand Up @@ -62,7 +62,7 @@ __OverlayStyle declaration__

>Notice that in the __OverlayStyle__ the __Opacity__ property is also specified. As a result if the __RadBusyIndicator__ had any content, it would still be visible while the indicator was active.

>tipYou can remove the __RadBusyIndicator__ busy content's background by setting the control's __Background__ property to __Transparent__.
>tip You can remove the __RadBusyIndicator__ busy content's background by setting the control's __Background__ property to __Transparent__.

__Remove the BusyContent's Background__

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ position: 2

# Styling the RadBusyIndicator

>tipBefore reading this topic, you might find it useful to get familiar with the [Template Structure of the RadBusyIndicator]({%slug radbusyindicator-styles-and-templates-template-structure%}) control.
>tip Before reading this topic, you might find it useful to get familiar with the [Template Structure of the RadBusyIndicator]({%slug radbusyindicator-styles-and-templates-template-structure%}) control.

The __RadBusyIndicator__ exposes a __Style__ property which allows you to modify its appearance.

Expand All @@ -26,7 +26,7 @@ This topic will show you how to perform the second one.

To copy the default styles, load your project in Expression Blend and open the User Control that holds the __RadBusyIndicator__. In the 'Objects and Timeline' pane select the __RadBusyIndicator__ you want to style. From the menu choose *Object -> Edit Style -> Edit a Copy*. You will be prompted for the name of the style and where to be placed.

>tipIf you choose to define the style in Application, it would be available for the entire application. This allows you to define a style only once and then reuse it where needed.
>tip If you choose to define the style in Application, it would be available for the entire application. This allows you to define a style only once and then reuse it where needed.

After clicking 'OK', Expression Blend will generate the default style of the __RadBusyIndicator__ control in the __Resources__ section of your User Control. The properties available for the style will be loaded in the 'Properties' pane and you will be able to modify their default values. You can also edit the generated XAML in the XAML View or in Visual Studio.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ position: 3

# Styling the RadProgressBar

>tipBefore reading this topic, you might find it useful to get familiar with the [Template Structure of the RadBusyIndicator]({%slug radbusyindicator-styles-and-templates-template-structure%}) control.
>tip Before reading this topic, you might find it useful to get familiar with the [Template Structure of the RadBusyIndicator]({%slug radbusyindicator-styles-and-templates-template-structure%}) control.

The __RadBusyIndicator__ exposes a __ProgressBarStyle__ property which allows you to modify the control's progress bar default appearance.

Expand All @@ -24,7 +24,7 @@ You have two options:

To copy the default styles, load your project in Expression Blend and open the User Control that holds the __RadBusyIndicator__. In the 'Objects and Timeline' pane select the __RadBusyIndicator__ you want to style. From the menu choose *Object -> Edit Style -> Edit a Copy*. You will be prompted for the name of the style and where to be placed.

>tipIf you choose to define the style in Application, it would be available for the entire application. This allows you to define a style only once and then reuse it where needed.
>tip If you choose to define the style in Application, it would be available for the entire application. This allows you to define a style only once and then reuse it where needed.

After clicking 'OK', Expression Blend will generate the default style of the __RadBusyIndicator__ control in the __Resources__ section of your User Control. The properties available for the style will be loaded in the 'Properties' pane and you will be able to modify their default values. You can also edit the generated XAML in the XAML View or in Visual Studio.

Expand Down Expand Up @@ -52,7 +52,7 @@ Here is the result:

## Create a custom ProgressBar Style

>tipRead more about the __RadProgressBar__ [here]({%slug radprogressbar-overview%}).
>tip Read more about the __RadProgressBar__ [here]({%slug radprogressbar-overview%}).

>When you choose to create a custom __ProgressBarStyle__ you will lose the __RadBusyIndicator's__ default template.

Expand Down
Loading