Telerik Forums
UI for WPF Forum
3 answers
306 views

Hi,

i'm using RadBusyIndicator to show "sub views" in our applications main window as BusyContent using BusyContentTemplate and it works.

The problem that i'm having is that the content presenter has locally assigned margin value that i haven't succeeded to override.

What i've tried?

1.) Tried to override the margin with implicit style in resources of RadBusyIndicator with no luck (not also preferred method because of all child content presenters get affected)

2.) Wrote a new custom control that derives from RadBusyIndicator and gave it a "NewMargin" dependency property of type Thickness. When the value of "NewMargin" changes i use VisualTreeHelpers to get the content presenter from visual tree and assing the new value to content presenter, but somehow it doesn't work either. The value gets set but the the view doesn't reflect the change.

The derived indicator:

    public class AdaBusyIndicator : RadBusyIndicator
    {
        public static readonly DependencyProperty NewMarginProperty =
          DependencyProperty.Register("NewMargin", typeof(Thickness),
        typeof(AdaBusyIndicator), new UIPropertyMetadata(new Thickness(), NewMarginPropertyChanged));

        private static void NewMarginPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            if (d is AdaBusyIndicator abi && VisualTreeHelpers.FindChild<Border>(abi, "Indicator") is Border brd &&
                VisualTreeHelpers.FindChild<ContentPresenter>(brd) is ContentPresenter cpres && e.NewValue is Thickness newThickness)
            {
                Thickness thickness = new Thickness(newThickness.Left, newThickness.Top, newThickness.Right, newThickness.Bottom);

                cpres.Margin = thickness;
            }
        }

        public Thickness NewMargin
        {
            get
            {
                return (Thickness)GetValue(NewMarginProperty);
            }
            set
            {
                SetValue(NewMarginProperty, value);
            }
        }
    }

 

Vicky
Telerik team
 answered on 24 Apr 2020
3 answers
911 views

Hello Diagramers,

Can anyone provide advice on how to export the SVG Path from an Illustrator generated SVG file for use in a RadDiagram shape? This works on simple, eg single path shapes using GIMP to export the image path but it does not work for multiple path shapes, eg a rectangle with a domed end. In the latter case the shape displays correctly but mouse clicks are processed over the domed portion and ignored over the rest of the shape. I've attached my Path data and a screen shot of the resulting shape in the hope that someone can shed some light on why I'm getting this behavior.

 

Regards,

Eric Gilbertson

 

<Style TargetType="{x:Type telerik:RadDiagramShape}" x:Key="ClipGraphBranchCell">
        <Setter Property="Background" Value= "Green"/>
        <Setter Property="BorderBrush" Value= "Black"/>
        <Setter Property="Geometry" Value=" M 139.54,3.30 C 137.45,1.11 134.53,0.00 130.72,0.00
             130.72,0.00 8.77,0.00 8.77,0.00
             3.93,0.01 0.01,4.01 -0.00,8.94
             -0.00,8.94 0.00,13.03 0.00,13.03
             0.01,17.97 3.93,21.97 8.77,21.98
             8.77,21.98 130.98,21.98 130.98,21.98
             130.98,21.98 131.60,21.98 131.60,21.98
             134.72,21.97 137.55,20.69 139.62,18.63
             139.62,18.63 146.05,10.97 146.05,10.97
             146.05,10.97 139.54,3.30 139.54,3.30 Z
M 1.50,13.03 C 1.51,17.13 4.76,20.44 8.77,20.45
             8.77,20.45 130.98,20.45 130.98,20.45
             131.15,20.46 131.32,20.46 131.50,20.46
             133.75,20.46 135.83,19.69 137.49,18.40
             137.49,18.40 137.49,3.52 137.49,3.52
             135.72,2.26 133.56,1.52 131.23,1.52
             131.06,1.52 130.89,1.53 130.72,1.53
             130.72,1.53 8.77,1.53 8.77,1.53
             4.76,1.54 1.51,4.85 1.50,8.95
             1.50,8.95 1.50,13.03 1.50,13.03 Z" />
        <Setter Property="IsEditable" Value="False"/>
        <Style.Triggers>
            <Trigger Property="IsSelected" Value="true">
                <Setter Property="Background" Value="Green" />
                <Setter Property="BorderBrush" Value="White"/>
            </Trigger>
        </Style.Triggers>
    </Style>

 

Dinko | Tech Support Engineer
Telerik team
 answered on 24 Apr 2020
3 answers
151 views

Hello,

I am using RadRichTextBox with 3 basic style definitions only. I dont want allow users to use more, this is requirement. I achieved the expected behavior except one situation, pasting content that contains styles from MS Word. I would like to not load Style Definitions from pasted content to RadRichTextBox. My idea was to reload my 3 basic style definitions after paste command executed, because then StyleRepository contains more of them:

private void Editor_CommandExecuted(object sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutedEventArgs e)
        {
            if (e.Command is PasteCommand)
            {
                var styl1 = this.Editor.Document.StyleRepository.ElementAtOrDefault(0);
                var styl2 = this.Editor.Document.StyleRepository.ElementAtOrDefault(1);
                var styl3 = this.Editor.Document.StyleRepository.ElementAtOrDefault(2);
 
                this.Editor.Document.StyleRepository.Clear();
 
                this.Editor.Document.StyleRepository.Add(styl1);
                this.Editor.Document.StyleRepository.Add(styl2);
                this.Editor.Document.StyleRepository.Add(styl3);
            }
        }

 

and this works almost ok. When saving this and opening again text is not styled.

But right after paste, after removing this additional styles from pasted content, the pasted content still looks like it has this Style Definitions applied.

Document doesn't have style definitions in collection and RadRichTextBox still shows styled content.

Is it problem with refreshing RadRichTextBox after manual operations on StyleRepository?

Dimitar
Telerik team
 answered on 24 Apr 2020
9 answers
2.5K+ views

Hi.

I have a grid with FilterDescriptors set to a property on the items in the grid.

<telerik:RadGridView x:Name="ContractNoteGridView"
ItemsSource="{Binding ContractNotes}">
<telerik:RadGridView.FilterDescriptors>
<telerik:FilterDescriptor Member="IsEcoGenerated" Operator="IsEqualTo" Value="false" />
</telerik:RadGridView.FilterDescriptors>
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="Dok.Nr." DataMemberBinding="{Binding DocumentNumber}" />
<telerik:GridViewDataColumn Header="Dato" DataMemberBinding="{Binding Date, StringFormat={}{0:dd.MM.yyyy}}" />
<telerik:GridViewDataColumn Header="Eco" DataMemberBinding="{Binding IsEcoGenerated}" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>

The filter is working ok when the GridView is loaded, item's are showing or not based on the property 'IsEcoGenerated'. The problem is that the GridView is not updated and removing item's if I set the property 'IsEcoGenerated' to true on one (or several) of the items. The GridViewDataColumn containing the same property does change though.

The collection used in the ItemSource (ContractNotes) is an ObservableCollection of objects of type ContracNote. ContractNote has the property IsEcoGenerated, and it implements INotifyPropertyChange , the NotifyPropertyChanged is also triggered on the setter of the property.

Can you give me a hint on what I'm doing wrong, or what I need to do to get the grid to update/refresh? The command that sets the property 'IsEcoGenerated' is a command on the ViewModel.

Martin Ivanov
Telerik team
 answered on 24 Apr 2020
0 answers
109 views

Hello,

we need to be able to add a new row into the TreeView and immediately see it, even when column filters or sorts are applied (so that a user does not have to scroll around searching for it or to disable filters in order to see the new row at all).

We could clear the filters/sorts before the insert, but we do not want to lose these settings and we do not want to change the displayed rows. The new row can be later, after the cells are filled, filtered/sorted according to the current settings, but just not in the moment of insert/first data entry.

How could we achieve this using TreeView? Note: we use "GridViewNewRowPosition.None", the row is inserted programmatically beside the currently selected one.

Thanks.

Robert
Top achievements
Rank 1
 asked on 22 Apr 2020
1 answer
213 views
I am use the MultiColumnComboBox for a custom property definition in a RadPropertyGrid using the PropertyDefinition.EditorTemplate, but I can't find a way to make the MCCB width autosize to the value column width of the PropertyGrid.  The width property only accepts Auto and constants (not *).  Is there a way to do this?
Vladimir Stoyanov
Telerik team
 answered on 22 Apr 2020
1 answer
109 views

Hello, I am using diagram to build a complex shape. A custom shape (Shape1) contains several custom shapes (Shape2).
I added a custom connector in Shape2. How do I display the connector of shape2 when I add shape1 to the diagram?

Shape1:

<Style TargetType="{x:Type local:Residential2}">
       <Setter Property="BorderThickness" Value="4" />
       <Setter Property="BorderBrush" Value="#6C666666" />
       <Setter Property="Width" Value="500" />
       <Setter Property="Height" Value="200" />
       <Setter Property="HorizontalAlignment" Value="Center" />
       <Setter Property="Margin" Value="0" />
       <Setter Property="Template">
           <Setter.Value>
               <ControlTemplate TargetType="{x:Type local:Residential2}">
                   <Grid   VerticalAlignment="Top" Name="root">
                       <VisualStateManager.VisualStateGroups>
                           <VisualStateGroup x:Name="ConnectorsAdornerVisibilityStates">
                               <VisualState x:Name="ConnectorsAdornerCollapsed"/>
                               <VisualState x:Name="ConnectorsAdornerVisible">
                                   <Storyboard>
                                       <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="ConnectorsControl" Storyboard.TargetProperty="Visibility">
                                           <DiscreteObjectKeyFrame KeyTime="0">
                                               <DiscreteObjectKeyFrame.Value>
                                                   <Visibility>Visible</Visibility>
                                               </DiscreteObjectKeyFrame.Value>
                                           </DiscreteObjectKeyFrame>
                                       </ObjectAnimationUsingKeyFrames>
                                   </Storyboard>
                               </VisualState>
                           </VisualStateGroup>
                       </VisualStateManager.VisualStateGroups>
                       <Grid.Background>
                           <DrawingBrush  Stretch="Uniform" AlignmentY="Top">
                               <DrawingBrush.Drawing>
                                   <DrawingGroup>
                                       <DrawingGroup.Children>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 252.102,0.750854L 468.17,0.750854">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 0.5,0.75061L 216.568,0.75061">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 216.05,32.7709L 216.05,0.770874">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 216.281,32.5712L 226.959,43.2485">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 215.958,32.6797L 205.28,43.3569">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 216.311,38.1578L 226.988,48.8352">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 215.986,38.2665L 205.309,48.9437">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 216.05,60.4674L 216.05,37.5924">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 209.036,53.5631L 223.178,67.7052">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 223.178,53.5629L 209.035,67.7051">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 216.815,109.857L 216.815,141.857">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 216.584,110.057L 205.907,99.3799">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 216.911,109.949L 227.588,99.2714">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 216.555,104.47L 205.877,93.7931">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 216.881,104.362L 227.559,93.6846">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 216.815,82.1608L 216.815,105.036">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 207.16,72.4357L 216.804,82.08">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 252.55,32.5L 252.55,0.5">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 252.781,32.3004L 263.458,42.9777">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 252.457,32.4088L 241.779,43.0861">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 252.81,37.8871L 263.487,48.5643">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 252.485,37.9956L 241.808,48.6729">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 252.948,103.659L 252.948,37.7872">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 253.314,109.587L 253.314,141.587">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 253.083,109.786L 242.406,99.109">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 253.41,109.678L 264.088,99.0005">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 253.054,104.2L 242.377,93.5223">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 253.38,104.091L 264.058,93.4137">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                           <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 217.305,141.292L 253.505,141.292">
                                               <GeometryDrawing.Pen>
                                                   <Pen LineJoin="Round" Brush="#FF000000"/>
                                               </GeometryDrawing.Pen>
                                           </GeometryDrawing>
                                       </DrawingGroup.Children>
                                   </DrawingGroup>
                               </DrawingBrush.Drawing>
                           </DrawingBrush>
                       </Grid.Background>
                       <Grid.ColumnDefinitions>
                           <ColumnDefinition></ColumnDefinition>
                           <ColumnDefinition Width="0.17*"></ColumnDefinition>
                           <ColumnDefinition></ColumnDefinition>
                       </Grid.ColumnDefinitions>
                       <Viewbox>
                           <UniformGrid Name="a" Rows="1"   MinWidth="230">
                           </UniformGrid>
                       </Viewbox>
                       <Viewbox  Width="NaN" Height="NaN" Grid.Column="2" >
                           <UniformGrid Name="a1" Rows="1"  MinWidth="230"></UniformGrid>
                       </Viewbox>
                       <StackPanel  Grid.Column="1" Name="sp" Background="AliceBlue"></StackPanel>
                       <primitives:ConnectorsControl x:Name="ConnectorsControl" ItemsSource="{TemplateBinding Connectors}" Visibility="Collapsed" ItemContainerStyle="{TemplateBinding ConnectorStyle}"/>
                   </Grid>
               </ControlTemplate>
           </Setter.Value>
       </Setter>
   </Style>

shape2:

<Style TargetType="{x:Type local:AdjacentSpace6}">
        <Setter Property="BorderThickness" Value="4" />
        <Setter Property="BorderBrush" Value="#6C666666" />
        <Setter Property="Width" Value="30 " />
        <Setter Property="Height" Value="196" />
        <Setter Property="HorizontalAlignment" Value="Center" />
        <Setter Property="Margin" Value="0" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type local:AdjacentSpace6}">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="ConnectorsAdornerVisibilityStates">
                                <VisualState x:Name="ConnectorsAdornerCollapsed"/>
                                <VisualState x:Name="ConnectorsAdornerVisible">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="ConnectorsControl" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid.Background>
                            <DrawingBrush  Stretch="Uniform">
                                <DrawingBrush.Drawing>
                                    <DrawingGroup>
                                        <DrawingGroup.Children>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 11.2705,32.5L 11.2705,0.5">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 11.501,32.3002L 22.1787,42.9774">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 11.1772,32.4088L 0.5,43.0861">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 11.5303,37.8868L 22.208,48.5642">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 11.2061,37.9955L 0.528809,48.6727">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 11.2705,60.1965L 11.2705,37.3215">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 4.25586,53.2921L 18.3979,67.4342">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 18.3975,53.2921L 4.25537,67.4342">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 12.0352,109.587L 12.0352,141.587">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 11.8037,109.786L 1.12646,99.1089">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 12.1299,109.678L 22.8071,99.0005">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 11.7749,104.199L 1.09766,93.5221">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 12.1006,104.091L 22.7778,93.4137">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 12.0352,81.89L 12.0352,104.765">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Brush="#FFFFFFFF" Geometry="F1 M 2.37988,72.1648L 12.0239,81.809">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                            <GeometryDrawing Geometry="F1 M 21.1851,141.405L 3.85107,141.405L 12.5181,156.417L 21.1851,141.405 Z ">
                                                <GeometryDrawing.Pen>
                                                    <Pen LineJoin="Round" Brush="#FF000000"/>
                                                </GeometryDrawing.Pen>
                                            </GeometryDrawing>
                                        </DrawingGroup.Children>
                                    </DrawingGroup>
                                </DrawingBrush.Drawing>
                            </DrawingBrush>
                        </Grid.Background>
                        <primitives:ConnectorsControl x:Name="ConnectorsControl" ItemsSource="{TemplateBinding Connectors}" Visibility="Collapsed" ItemContainerStyle="{TemplateBinding ConnectorStyle}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

 

Dinko | Tech Support Engineer
Telerik team
 answered on 22 Apr 2020
1 answer
586 views

One of our product feature is using the Telerik's Nuget package: Telerik.Windows.Controls.DataVisualization.for.Wpf.45.Xaml (version=2015.1.0225)

This package is no longer available in Nuget.org.

Can someone please tell me if update to this package is available in the Telerik's private nuget feed (or) it it's obsolete and has been removed from the sources.

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Apr 2020
8 answers
449 views
Hi Telerik,

I am using a RadMaskedDateTimeInput control in my application. It is being used in a RadGridView's CellEditTemplate edit mode and the value is bound to a TimeSpan object with the property [ Mask = HH:mm ]

When I enter edit mode in run time it seems to be displaying/bound to Today.Now and/or DateTime.Now (It is only showing the current Hour/Minutes). Is this a known bug or should I be using another InputMask control to accomplish this. I only want to see the correct time in this format 00:00 [HH:mm]

Thanks!
Petar Mladenov
Telerik team
 answered on 20 Apr 2020
1 answer
96 views

Hi,

is there a way to add multiple assignees ?

Thanks,

Yair

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Apr 2020
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?