Hi, i have some problem.
The image editor created by wpf works normally. However, if you link to other programs, you will not see all the components. (Please refer to attached file)
I don't know why act like that. I look forward to your valuable feedback.
Thanks
<telerik:RadTabControl> |
<telerik:RadTabItem Header="{Binding ElementName=operationContentControl, Path=Content.DataContext.Header}" IsSelected="{Binding IsOperationSelected, Mode=TwoWay}"> |
<ContentControl x:Name="operationContentControl" cal:RegionManager.RegionName="{x:Static infrastructure:RegionNames.MainRegion}" /></telerik:RadTabItem> |
<telerik:RadTabItem Header="{Binding ElementName=protocolContentControl, Path=Content.DataContext.Header}" IsSelected="{Binding IsProtocolSelected, Mode=TwoWay}" Visibility="{Binding IsProtocolVisible, Converter={StaticResource boolToVisibilityConverter}}"> |
<ContentControl x:Name="protocolContentControl" cal:RegionManager.RegionName="{x:Static infrastructure:RegionNames.ProtocolRegion}" /><telerik:RadTabItem> |
</telerik:RadTabControl> |
Hir sir,
I am new to wpf.is there any option to set window as mdi and open other windows in it. in winforms we will set ismdicontainer=true;
can you give an exmple?
How can I assign in the code behind a German Dictionary to a RichTextBox in the CellEditTemplate?
01.
<telerik:GridViewDataColumn.CellEditTemplate>
02.
<DataTemplate>
03.
<Grid>
04.
<telerik:RadRichTextBox x:Name=
"ProtocolRowTextBox"
05.
IsSpellCheckingEnabled=
"True"
06.
BorderThickness=
"0"
07.
Height=
"Auto"
08.
Margin=
"0"
09.
DocumentInheritsDefaultStyleSettings=
"True"
/>
10.
<telerik:TxtDataProvider RichTextBox=
"{Binding ElementName=ProtocolRowText}"
11.
Text=
"{Binding Path=Text, Mode=TwoWay}"
/>
12.
</Grid>
13.
</DataTemplate>
14.
</telerik:GridViewDataColumn.CellEditTemplate>
I can't find the RichTextBox in C# by name and assign it to the dictionary , such as:
1.
ProtocolRowTextBox.SpellChecker = _localViewModel.DocumentSpellChecker;
Hi,
I have a project in which I am trying to support merged cells for all columns. I notice however that a CheckBox Column doesn't fully support this feature inasmuch as a GridView always displays the values True or False in text form across merged cells (or in my case "1" or "0").
I thought this was an oversight by me but I noticed it in the documentation here where the IsMarried column is shown.
Is this the intended design or does Telerik plan to change this? Personally I would prefer the merged cell also to display a CheckBox.
Many thanks.
Miles Young
I'm having an issue where I sometimes get two groups with a key of empty string when I add a grouping to my data.
It's really important that these group keys be unique because I'm doing some fairly complicated grid navigation in hierarchical grids and I rely on that key being unique so I can programatically make decisions about where to move focus.
Is there a grouping maximum or something that I'm missing, or is this a Telerik bug?
Hi,
I have following style applied for all my RadMultiColumnComboBox controls (in the app.xaml):
<!--Telerik default DefaultTelerikRadMultiColumnComboBoxStyle-->
<
Style
x:Key
=
"DefaultTelerikRadMultiColumnComboBoxStyle"
TargetType
=
"telerik:RadMultiColumnComboBox"
BasedOn
=
"{StaticResource RadMultiColumnComboBoxStyle}"
>
<!--<Setter Property="SelectionMode" Value="Single"/>-->
<
Setter
Property
=
"AutoCompleteMode"
Value
=
"Search"
/>
<
Setter
Property
=
"FontFamily"
Value
=
"{StaticResource DefaultFont}"
/>
<
Setter
Property
=
"FontSize"
Value
=
"{StaticResource DefaultFontSize}"
/>
<
Setter
Property
=
"FontWeight"
Value
=
"{StaticResource DefaultFontWeight}"
/>
<
Setter
Property
=
"MinHeight"
Value
=
"{StaticResource DefaultMinimumHeight}"
/>
<
Setter
Property
=
"KeepDropDownOpen"
Value
=
"False"
/>
<
Setter
Property
=
"CloseDropDownAfterSelectionInput"
Value
=
"True"
/>
<
Setter
Property
=
"SelectionBoxesVisibility"
Value
=
"Visible"
/>
<
Setter
Property
=
"Validation.ErrorTemplate"
Value
=
"{StaticResource ErrorTemplate}"
/>
<
Style.Triggers
>
<
Trigger
Property
=
"IsEnabled"
Value
=
"True"
>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource DefaultTextBoxBackgroundColor}"
/>
</
Trigger
>
<
Trigger
Property
=
"IsEnabled"
Value
=
"False"
>
<
Setter
Property
=
"Background"
Value
=
"Red"
/>
</
Trigger
>
<
Trigger
Property
=
"IsFocused"
Value
=
"True"
>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource DefaultTextBoxIsFocusedBackgroundColor}"
/>
</
Trigger
>
</
Style.Triggers
>
</
Style
>
<
Style
TargetType
=
"{x:Type telerik:RadMultiColumnComboBox}"
BasedOn
=
"{StaticResource DefaultTelerikRadMultiColumnComboBoxStyle}"
/>
With this style applied, I get this error in my XAML files (see attached file): The element "[RadMultiColumnComboBox]" could not be displayed because of a problem with System.Windows.StaticResourceExtension: CollectionView must have value. Parameter name: collectionView.
The error is provoced by the setter of the AutoCompleteMode. The error disappears when this setter is deleted.
Setting the AutoCompleteMode directly on a RadMultiColumnComboBox (with the style applied) does not cause any problems.
Any ideas ??
Regards,
Hans
In your standard TreeListView sample program, ExpandItemsIntoView, scrolling stops working if I add drag-and-drop parameters as follows:
<telerik:RadTreeListView x:Name="RadTreeListView1"
GroupRenderMode="Flat"
ItemsSource="{Binding}"
Grid.Row="1"
telerik:DragDropManager.AllowDrag="True"
telerik:DragDropManager.AllowCapturedDrag="True">
Is that a problem with the control, or is something else needed to ensure scrolling works? I have this problem in a much more complex example, but I was able to reproduce it in your sample.
Hello
I'm trying to add a picture to a spreadsheet. There is not problement to add the picture, but I'm trying to center it into a merge cell and I can't get the size.
I did the code bellow :
Private
Sub
addLogo(
ByRef
worksheet
As
Worksheet,
ByVal
columnCount
As
Integer
,
ByVal
rowCellIndex
As
Integer
,
ByVal
columnCellIndex
As
Integer
)
Dim
image
As
New
FloatingImage(worksheet,
New
CellIndex(columnCellIndex, rowCellIndex), 0, 0)
Using stream
As
Stream =
Assembly
.GetExecutingAssembly().GetManifestResourceStream(
String
.Concat(
Assembly
.GetExecutingAssembly().GetName().Name,
".MyLogo.png"
))
image.ImageSource =
New
ImageSource(stream,
"png"
)
image.LockAspectRatio =
True
Dim
ratio
As
Double
= worksheet.Rows(rowCellIndex).GetHeight().Value.Value / image.Height
image.Height = image.Height * ratio
image.Width = image.Width * ratio
image.OffsetX = worksheet.Columns(columnCellIndex, columnCellIndex + columnCount - 1).GetWidth().Value.Value - image.Width
End
Using
worksheet.Shapes.Add(image)
End
Sub
the worksheet.Rows(rowCellIndex).Getheight().Value.Value return 20 each time, unless the row is highter
and the worksheet.Columns(columnCellIndex, columnCellIndex + columnCount - 1).GetWidth().Value.Value return 65 each time, for one or more column.
So I don't know the right command to get the height and width of my merge cell, could you help me ?
Thanks
J-Christophe
Hi team,
Let's say I have a set of shapes selected, a unique bounding box including all selected shapes is rendered.
is it possible to hide the bounding box? Or is it possible to customize the highligh of the single selected shapes?
I attached a sample picture (taken from powerpoint)
Thanks in advance