Telerik Forums
UI for WPF Forum
2 answers
292 views

Hello,

Attached a v.s 2015 WPF code developed with last trial version of Telerik: 

In Xaml, the splitter is set to : IsVisible = "Hidden"

In the cs code, IsVisible returns false. 

But when the application runs, the splitter is shown.

Can you help ?

Thank you,

Zvika 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
 
namespace TelerikWpfApp1
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            bool rc=radSplitContainer.IsVisible;
        }
    }
}
<Window x:Class="TelerikWpfApp1.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                Title="MainWindow" Height="350" Width="525">
        <Grid>
        <telerik:RadDocking x:Name="radDocking">
            <telerik:RadSplitContainer x:Name="radSplitContainer" Visibility="Hidden">
                <telerik:RadPaneGroup x:Name="radPaneGroup">
                    <telerik:RadPane x:Name="radPane1" Header="Document 1">
                        <TextBlock Text="Some simple text here"></TextBlock>
                    </telerik:RadPane>
                    <telerik:RadPane x:Name="radPane2" Header="Document 2">
                        <TextBlock Text="Some simple text here"></TextBlock>
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking>
    </Grid>
</Window>
Zvi
Top achievements
Rank 1
 answered on 12 Oct 2017
3 answers
377 views

Hi,

I'm experiencing a visual issue where the column width of my columns in a RadGridView is very small while the RadGridView is loading. In my product, it give sort of a "jitter" feel when you load the application. I've attached to this post 3 pictures, the first step where we see the shrunken header columns, the second step where the columns grows but it creates a scrollbar, and the final step where I get the desired visual. 

Overall it takes 90ms for the datagrid to settle to the final step. I am not very concerned about the scrollbar as I don't observ this in my final application (probably due with a different layout than this simple test of a GridView in a Grid).

I include a link to a very minimalistic project that can let you recreate the issue : https://drive.google.com/file/d/0B9yNrE596_TZeTBzd241OFhZMWM/view?usp=sharing

This gives our application a very janky feel, I hope it's just a matter of me not having setup the width of the columns properly or something like that!

Thanks in advance!

Louis

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 11 Oct 2017
1 answer
109 views

Hi,

 

I need to resize the width of FlagEnumEditor whenever propertyGrid is resized, i want to set the new width of propertyGrid to the FlagEnumEditor.

Because if I wont set the propertyGrid width to it, then when more items are checked in FlagEnumEditor its width exceeds the propertyGrid limits and a horizontal scrollbar starts appearing, i dont want a scrollbar, i just want to restrict the FlagEnumEditor's width to the width of PropertyGrid specially when PropertyGrid is resized.

 

Regards,

Tayyaba

Vladimir Stoyanov
Telerik team
 answered on 11 Oct 2017
1 answer
243 views

Hi,

 

I want to show the display name of the Enum in the FlagEnumEditor checkbox list.
Like I have a enum like this:

public enum SceneObjectTypes
    {
[Display(Name = "Cross Sections")]
        CrossSections = 0,

[Display(Name = "Observation Number.")]
        ObservationNumber = 2,

}

 

I want to display those display names in the FlagENumEditor.

Thanks,

Tayyaba

Vladimir Stoyanov
Telerik team
 answered on 11 Oct 2017
1 answer
270 views

Hello ! I know there are a lot of topics about this but i do have a issue with drag and rop . 
I have a RadTreeView with sting data . The effect i`m looking for is to drag certain string from the TreeView into a Cell of the RadGrid . Each cell to be able to be with different content . 

The tree view is just simple Tree view with data .

I want to able only to drag and drop from TreeView to Grid not the other way around 

Thanks in advance  !

 

 

 

Martin Ivanov
Telerik team
 answered on 11 Oct 2017
12 answers
1.6K+ views
Hello, I am newbie with telerik controls, and I am doing a app with a GridView, I would like to make some rows blink or flash, but I can't find anything about it, Is there an easy way?
Hope somebody can help me.
Thanks!
KAPIL
Top achievements
Rank 1
 answered on 11 Oct 2017
1 answer
105 views

I'm using a RadRichTextBox as a pure preview for printing. IsReadOnly is
set to True, but you can still enter header edit mode.

This means that when the document is first shown, the header is grayed out.
And when you double click the header, entering edit mode, the
rest of the content is grayed out.

This will lead to a kind of "false preview" of the document, as the colors will not match the final print.

Is there any way to enter a "true" read only/print preview state?

Tanya
Telerik team
 answered on 10 Oct 2017
1 answer
129 views
I want to show live traffic information of a specific region. Is it possible to show that using  rad map?
Petar Mladenov
Telerik team
 answered on 10 Oct 2017
1 answer
107 views

How can (resp. should) I enable the MeasureTextOnRender property?

 

myRadVirtualGrid.MeasureTextOnRender = true;

for (int i = 0; i < myRadVirtualGrid.InitialColumnCount; i++)
{
    myRadVirtualGrid.FitColumnWidthToContent(i);
}

 

It seems to be quite simple, but crashes (unclear exception).

This exception comes from "myRadVirtualGrid.MeasureTextOnRender = true;" only ...

Any idea how to fix it?

Or at least a working example for using the FitColumnWidthToContent method?

Thanks a lot in advance!

Hagen

Yoan
Telerik team
 answered on 10 Oct 2017
1 answer
133 views

Hi,

 I want to pin and unpin one of the Radpane based on Object selected and Active Tabitem in our application.It is not working as expected,Even though I set

<telerik:RadPane Header="Input Parameters">
          <telerik:RadPane.Style>
  <Style TargetType="telerik:RadPane" BasedOn="{StaticResource {x:Type telerik:RadPane}}" >
                   <Setter Property="Visibility" Value="Hidden"/>                                                                     <Style.Triggers>
                             <MultiDataTrigger>
                                 <MultiDataTrigger.Conditions>
                                    <Condition Binding="{Binding Path=SelectedSharedComponentItem, Converter={uxt:ObjectToBoolConverter}}" Value="True"/>                                                      
<Condition Binding="{Binding IsSharedComponentsTabActive}" Value="True"/>                                                            </MultiDataTrigger.Conditions>                                                           
                       <Setter Property="Visibility" Value="Visible"/>
                       <Setter Property="IsPinned Value="True"/>                                                           
                                                        </MultiDataTrigger>                                                       
                                                    </Style.Triggers>
                                                </Style>
                                            </telerik:RadPane.Style>
                                        </telerik:RadPane>
Dilyan Traykov
Telerik team
 answered on 09 Oct 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?