Telerik Forums
UI for WPF Forum
4 answers
126 views

Hello,

1. Default there is an indicator showing whether the task is expired. how to close this indicator?

2. how to set Deadline  width?  the following code didn't work.

     <Style TargetType="telerik:DeadlineContainer"  BasedOn="{StaticResource DeadlineContainerStyle}">
                                    <Setter Property="Width" Value="15" />
     </Style>

 

Thanks,

Jacky

 

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Dec 2017
3 answers
248 views

Hi,

I found the article for this regarding Silverlight.

https://www.telerik.com/forums/drag-and-drop-to-a-specific-row-in-a-radgridview 

How can this be made to work for wpf?

Thanks ... Ed

 

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Dec 2017
1 answer
98 views

Dear Telerik team,

I have problem when running Project Demo of WPF "Telerik_UI_for_WPF_2017_3_1018_Demos".

Error detail can see from attached file.

 

Please help.

 

Thanks,

 

Martin Ivanov
Telerik team
 answered on 04 Dec 2017
1 answer
241 views

I'm trying to bind xaml to a RichTextBox.  I have the Edited_WPF sdk sample.  I cannot get the RichTextBox to display my xaml.  Here's what I did.

Run the sdk sample.

Type, "This is a test" in the RichTextBox.

Click "Show XAML"

Copy the xaml.

In ExampleDataContext.cs, set private string xamlData = <t:RadDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:t="clr-namespace:Telerik.Windows.Documents.Model;assembly=Telerik.Windows.Documents" xmlns:s="clr-namespace:Telerik.Windows.Documents.Model.Styles;assembly=Telerik.Windows.Documents" xmlns:r="clr-namespace:Telerik.Windows.Documents.Model.Revisions;assembly=Telerik.Windows.Documents" xmlns:n="clr-namespace:Telerik.Windows.Documents.Model.Notes;assembly=Telerik.Windows.Documents" xmlns:th="clr-namespace:Telerik.Windows.Documents.Model.Themes;assembly=Telerik.Windows.Documents" version="1.4" LayoutMode="Flow" LineSpacing="1.15" LineSpacingType="Auto" ParagraphDefaultSpacingAfter="12" ParagraphDefaultSpacingBefore="0" StyleName="defaultDocumentStyle">
  <t:RadDocument.Captions>
    <t:CaptionDefinition IsDefault="True" IsLinkedToHeading="False" Label="Figure" LinkedHeadingLevel="0" NumberingFormat="Arabic" SeparatorType="Hyphen" />
    <t:CaptionDefinition IsDefault="True" IsLinkedToHeading="False" Label="Table" LinkedHeadingLevel="0" NumberingFormat="Arabic" SeparatorType="Hyphen" />
  </t:RadDocument.Captions>
  <t:RadDocument.ProtectionSettings>
    <t:DocumentProtectionSettings EnableDocumentProtection="False" Enforce="False" HashingAlgorithm="None" HashingSpinCount="0" ProtectionMode="ReadOnly" />
  </t:RadDocument.ProtectionSettings>
  <t:RadDocument.Styles>
    <s:StyleDefinition DisplayName="defaultDocumentStyle" IsCustom="False" IsDefault="False" IsPrimary="True" Name="defaultDocumentStyle" Type="Default">
      <s:StyleDefinition.ParagraphStyle>
        <s:ParagraphProperties LineSpacing="1.15" SpacingAfter="12" />
      </s:StyleDefinition.ParagraphStyle>
      <s:StyleDefinition.SpanStyle>
        <s:SpanProperties FontFamily="Verdana" FontSize="16" FontStyle="Normal" FontWeight="Normal" />
      </s:StyleDefinition.SpanStyle>
    </s:StyleDefinition>
    <s:StyleDefinition DisplayName="Normal" IsCustom="False" IsDefault="True" IsPrimary="True" Name="Normal" Type="Paragraph" UIPriority="0" />
    <s:StyleDefinition DisplayName="Table Normal" IsCustom="False" IsDefault="True" IsPrimary="False" Name="TableNormal" Type="Table" UIPriority="59">
      <s:StyleDefinition.TableStyle>
        <s:TableProperties CellPadding="5,0,5,0">
          <s:TableProperties.TableLook>
            <t:TableLook />
          </s:TableProperties.TableLook>
        </s:TableProperties>
      </s:StyleDefinition.TableStyle>
    </s:StyleDefinition>
  </t:RadDocument.Styles>
  <t:Section>
    <t:Paragraph>
      <t:Span Text="This is a test." />
    </t:Paragraph>
  </t:Section>
</t:RadDocument>

 

with proper quoting.

Run the sdk sample, and I get an empty RichTextBox.

What am I doing wrong?  Thanks.

gordon
Top achievements
Rank 1
 answered on 03 Dec 2017
3 answers
98 views

Hi,

I have an application with Diagram using GraphSource.
Actually i add Container with default styledefine by StyleSelector and i would like to allow my user to choose a different style.
How can i do this ? If i use SelectedItem, i have a model not a shape or container so i can't define style.

Thanks for your help.

Nicolas

nicolasf
Top achievements
Rank 2
 answered on 03 Dec 2017
1 answer
155 views
I have stumbled upon an issue that has me baffled. I am using v2017.2.503.45 of the Telerik WPF UI and loading up a RadGridView with about 150 records and 16 columns of data - 3 of the columns are GridViewComboBoxColumns and the rest are GridViewDataColumns. On the RadGridView I have:

ItemsSource="{Binding Registrations}"
IsBusy="{Binding LoadingRegistrations}"

LoadingRegistrations is set to true in an async method that uses await Task.Run(...) to retrieve the records and assign them to the Registrations property which is an ObservableCollection<Registration>. Within my App.xaml.cs I have:

StyleManager.ApplicationTheme = new Office2016Theme();

Using the Office 2016 theme no busy indicator is displayed. If I remove that line from App.xaml.cs or change it to use the Windows 7 theme, for example, the busy indicator is displayed, but it does not animate. I'm OK with the no animation, but why does the indicator not even display when using one of the more modern themes (I have tried several and none of them display the indicator).
Sia
Telerik team
 answered on 01 Dec 2017
5 answers
281 views
I have a stacked chart combined with 2 line series.  When i create the legend, it shows all series as rectangles.  How do I make the line series show a colored line with a circle on the legend?
Angelo
Top achievements
Rank 1
 answered on 01 Dec 2017
1 answer
61 views

I am trying to create a WPF page that can scroll like a carousel a whole panel of controls at a time. 

Similar to hero images on websites, we would like a visual indicator of the number of panels and arrows for the user to press to move to the next panel (the carousel shouldn't automatically rotate).

I actually don't know which control (or combination of controls) to use to achieve the effect.

I have attached an image of the wireframe for reference.

Just a nudge in the right direction would really help!

Thanks

 

Martin Ivanov
Telerik team
 answered on 01 Dec 2017
1 answer
503 views

In a RadGridView, I am trying to change the border around the cell which has focus. Currently it appears as a faint grayish color, my boss has asked that I make it a darker, thicker border. Not having any luck so far. Why won't the Style definition below work?

 

<telerik:RadGridView.Resources>

                <Style TargetType="telerik:GridViewCell">

                    <Style.Triggers>

                        <Trigger Property="IsCurrent" Value="True">

                            <Setter Property="BorderBrush" Value="#000000" />

                            <Setter Property="BorderThickness" Value="2" />

                        </Trigger>

                    </Style.Triggers>    

                </Style>

</telerik:RadGridView.Resources>

Martin
Telerik team
 answered on 30 Nov 2017
3 answers
195 views
If I try to load a PDF that has several layers with the RadPdfViewer then all layers are shown but how do I allow the user to decide what layers should be shown?

I cannot find any way in the viewer where I can set what layers should be shown.

In any standard pdf viewer you are able to manage what layers you want to see e.g. to show layer 1 and 3 but not 2.
Anna
Telerik team
 answered on 30 Nov 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?