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: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
>
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
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
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
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 !
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?
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
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
>