Telerik Forums
UI for WPF Forum
5 answers
187 views
Hello,
I am trying to create custom ContainerShape which looks like the attached files.

1) Sample01.png file
In the header, I want to add the 'text' and 'collapsible' button.
For the Child area, I want to add text boxes, arrow image, and connections.
In the middle, I want to add a '+' button, where a user can drag & drop a shape into containerShape.

2) Sample02.png file
In the header, I want to add 'text' and two buttons('+' and 'collapsible').
For the Child area, I want to add two separate areas, where each area contains its child items.
'+' button for each area is for a user to drag & drop a shape into the corresponding area.


3) Sample04.png file
So my question is how can I customize the red outlined area in sample04.png
to create custom containerShape described in sample01.png and sample02.png.

Any help will be greatly appreciated.

Thanks.


Dinko | Tech Support Engineer
Telerik team
 answered on 26 Feb 2020
4 answers
145 views

Hi,

in 2018.2.515.45 version of telerik RadGridView I did:

var col = new GridViewDataColumn() { DataMemberBinding = new Binding(item.Name), Header = header };
col.CellStyle = new Style();
col.CellStyle.Setters.Add(new Setter(GridViewCell.FontWeightProperty, FontWeights.Bold));
MyRadGridView.Columns.Add(col);

 

to set the font of a certain column to bold. Now, after update to 2020.1.115.45 version this is not working any more. The content of this column is invisible.

I tried this:

col.CellStyle = new Style() { TargetType = typeof(GridViewCell) };

but no changes.

 

How can I add a setter to the style in new version?

BR Gert

 

 

 

Gert
Top achievements
Rank 1
 answered on 26 Feb 2020
7 answers
292 views

Hi, 

 

is it possible to enter 030120 but have the Preview ToolTip in format dd.MM.yyyy and also wenn leaving the control (d1.jpg, d2.jpg, d3.jpg, d4.jpg)?

 

BR Gert

Gert
Top achievements
Rank 1
 answered on 26 Feb 2020
0 answers
163 views

Dear Telerik support team,

I would to customize the style of TileViewItem in order make the content when maximizing overlap the other control (it doesn't take spaces of other controls in my screen when maximizing).

Would you please help to style it?

 

Below is my current xaml:

01.<telerik:RadTileView x:Name="TitleView"
02.                            RowHeight="{Binding HeightConcept, UpdateSourceTrigger=PropertyChanged}" ColumnWidth="{Binding WidthConcept, UpdateSourceTrigger=PropertyChanged}"
03.                            Width="{Binding MaximizedWidthConcept, UpdateSourceTrigger=PropertyChanged}"
04.                            MaxHeight="{Binding MaximizedHeightConcept, UpdateSourceTrigger=PropertyChanged}" MinimizedRowHeight="Auto"
05.                            MinHeight="0"
06.                            ColumnsCount="1" RowsCount="1"
07.                            MaximizeMode="ZeroOrOne"  ScrollViewer.CanContentScroll="False"
08.                            DragMode="{Binding ElementName=dragMode, Path=SelectedItem}" IsItemsSizeInPercentages="True"
09.                            PreservePositionWhenMaximized="True"
10.                            telerik:TileViewPanel.IsColumnsShrinkEnabled="True"
11.                            telerik:TileViewPanel.IsRowsShrinkEnabled="False" telerik:TileViewPanel.IsSizeBoundToPosition="False"
12.                            HeaderStyle="{StaticResource TileItemHeaderStyle}"
13.                            ItemTemplate="{StaticResource HeaderCustomTemplate}"            
14.                            ItemsSource="{Binding Items}"
15.                            TileStateChanged ="TitleView_TileStateChanged"
16.                            Background="Transparent"
17.                            >
18.           <telerik:RadFluidContentControl x:Name="FluidControl" ContentChangeMode="Manual" State="Large"
19.                                           TransitionDuration="0:0:.1" Height="Auto" Background="Transparent">
20.               <telerik:RadFluidContentControl.Content>
21.                   <Grid></Grid>
22.               </telerik:RadFluidContentControl.Content>
23.               <telerik:RadFluidContentControl.LargeContent>
24.                       <telerik:RadMultiColumnComboBox x:Name="MultiColumCombo1" Width="{Binding SearchBoxWidth, UpdateSourceTrigger=PropertyChanged}"
25.                                                       MinWidth="0" MinHeight="0" VerticalAlignment="Top" HorizontalAlignment="Left"
26.                                                       DisplayMemberPath="{Binding GridItem.ThirdFullName}"
27.                                                       DropDownMinWidth="{Binding DropDownMinWidthConcept, UpdateSourceTrigger=PropertyChanged}"
28.                                                       DropDownMaxWidth="{Binding DropDownMaxWidthConcept, UpdateSourceTrigger=PropertyChanged}"
29.                                                       SearchMode="MatchAnyTerm"
30.                                                       SelectionMode="Multiple" AutoCompleteMode="Search"
31.                                                       SelectionBoxesVisibility="Visible"
32.                                                       SelectionBoxStyle="{StaticResource SelectionBoxCustomStyle}"
33.                                                       NullText="..."
34.                                                       DropDownPlacement="Bottom" FooterVisibility="Visible"
35.                                                       FooterContentTemplate="{StaticResource FooterCheckBoxTemplate}"
36.                                                       CloseDropDownAfterSelectionInput="True"
37.                                                       GotFocus="MultiColumCombo1_GotFocus">
38.                           <telerik:RadMultiColumnComboBox.ItemsSourceProvider>
39.                               <telerik:GridViewItemsSourceProvider x:Name="ItemsSourceProviderGrid1"
40.                                            ItemsSource="{Binding DataSource, Mode=TwoWay}"
41.                                            ShowColumnHeaders="True"
42.                                            RowIndicatorVisibility="Collapsed"
43.                                            AutoGenerateColumns="False"
44.                                            >
45.                               </telerik:GridViewItemsSourceProvider>
46.                           </telerik:RadMultiColumnComboBox.ItemsSourceProvider>
47.                       </telerik:RadMultiColumnComboBox>
48.               </telerik:RadFluidContentControl.LargeContent>
49.           </telerik:RadFluidContentControl>
50.       </telerik:RadTileView>
minh
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 26 Feb 2020
2 answers
141 views
Hello,



I'm sorry to leave so many questions.

Here's the question.

I'd like to find out if the point above the diagram is within the connection.

Other DiagramItems, such as Shape, could calculate to Shape.Bounds.Contains(point).

However, the connection is a line, so if you calculate it as Bounds, there is a problem that i can't measure properly.

I want to get a bool value for the point above the connection or, if possible, within an interval between 1 and 5 around the connection line.

Connection.Geometry has a different position value and connection.Geometry doesn't have been activated by fillcontains or stalkcontains.
seokhyun
Top achievements
Rank 1
Veteran
 answered on 26 Feb 2020
8 answers
206 views

Hello,

When setting the Layer property by code, it works as expected. But, when a layer is selected by the user, the Layer property doesn't change!

Vladimir Stoyanov
Telerik team
 answered on 25 Feb 2020
7 answers
627 views

Hello,

Typing characters with switching IME input mode will crash your RichTextBox sample application.
In 2017.2.614 the process is killed and in 2020.1.115 an exception is thrown.

Could you tell us a solution to this problem?
Also, do you plan to fix your components for this problem?

Reproduction steps:
1. Start editing rich text
2. Switch IME input mode to Hiragana
3. Switch IME input mode to AlphanumericHalfWidth
4. Enter "," (comma) by key operation
5. Switch IME input mode to Hiragana
6. Enter any characters by key operation
⇒ The application crashes

Exception information:
Value cannot be null.
Parameter name: insertIMETextCommandContext

 

Best regards,

Tanya
Telerik team
 answered on 25 Feb 2020
2 answers
502 views

Hello Admin,

I am now using RadCartesianChart's LineSeries to show tooltip. But when loading massive amount of data about 18866 record, UI becomes very slow to show tooltips and finally becomes freeze. Could you please help me how to solve this issue? Thanks.

 

Vladimir Stoyanov
Telerik team
 answered on 24 Feb 2020
3 answers
356 views

Hi,

I have troubles to set a implicit style to GridViewDataColumn.

 

For all grid view columns i want to set the style to without

- TextTrimming="CharacterEllipsis"

- TextWrapping="WrapWithOverflow"

 

I tried with  <Style TargetType="telerik:GridViewDataColumn" BasedOn="{StaticResource GridViewDataColumnStyle}">

 

Any suggestions?

Thank you in advance

Dinko | Tech Support Engineer
Telerik team
 answered on 24 Feb 2020
2 answers
2.1K+ views

Hello,

When I use a RadSplashScreen at the launch of my application, the application's main window doesn't receive focus and appears behind other windows. I've seen a reference to this type of behavior on another thread regarding RadWindow (https://www.telerik.com/forums/mainwindow-losts-focus-after-child-radwindow-is-closed), but the solution there doesn't seem applicable to this control.

I created a sample application (https://github.com/3milio/RadSplashScreenHidingMainWindow) with VS 2017 following your getting started guide. Mind trying it out and seeing if I'm missing a step? For me, when I hit F5 in the debugger to run it the splash screen appears on top of it but then when the main window gets instantiated it hides behind other programs.

Also, when I first cloned the repo and ran it in the debugger it didn't demonstrate this behavior. But any time after that, it did. That includes running it with the Release configuration, as well as simply running the .exe from Windows Explorer.

Thanks,

Emilio

Emilio
Top achievements
Rank 1
 answered on 22 Feb 2020
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?