Telerik Forums
UI for WPF Forum
6 answers
889 views
Hi,
  I'm working in WPF application for touchscreen. In that we r using telerik:RadNumericUpDown, which requires to resize the up & down arrow to be resized to suit the touchscreen requirements.

Thank u
Selva
Martin Ivanov
Telerik team
 answered on 18 May 2018
3 answers
181 views

Hi, i am Ashrul.

how can we set List Style Level Text with picture like plus sign.

and i take an example like MS Word document view, is that " List Style " or " tree view " visual

 

Btw thanks in advanced.

 

ashrul.

Tanya
Telerik team
 answered on 17 May 2018
3 answers
134 views

Hi.

I have a problem.

TreeView works good. but after binding command, FocusColor & SelectedColor changed(See Attached image).

XAML like this:

--------------------------------------------------------------------------------------------

        <telerik:RadTreeView ItemsSource="{Binding BookChapterTrees}">

           <!-- Start: If remove this part, it works well -->
            <telerik:RadTreeView.ItemContainerStyle>
                <Style TargetType="telerik:RadTreeViewItem">
                    <Setter Property="Command" Value="{Binding TreeSelectCommand}" />
                    <Setter Property="CommandParameter" Value="{Binding}" />
                </Style>
            </telerik:RadTreeView.ItemContainerStyle> 

            <!-- End: If remove this part, it works well -->

            <telerik:RadTreeView.ItemTemplate>
                <HierarchicalDataTemplate ItemsSource="{Binding TreeChildren}">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="88"/>
                        </Grid.ColumnDefinitions>
                        <TextBlock Text="{Binding TreeChapter.ChapterName}" 
                                   FontFamily="Segoe UI" FontWeight="Bold" TextDecorations="Underline"/>
                        <StackPanel Orientation="Horizontal" Grid.Column="2">
                            <TextBlock Text=" .  .  . "  FontFamily="Segoe UI" />
                            <TextBlock Text="{Binding TreeChapter.StartLocalPage}"  FontFamily="Segoe UI" />
                            <TextBlock Text="  ( "  FontFamily="Segoe UI" />
                            <TextBlock Text="{Binding TreeChapter.StartPage}"  FontFamily="Segoe UI" />
                            <TextBlock Text=" )"  FontFamily="Segoe UI" />
                        </StackPanel>
                    </Grid>
                </HierarchicalDataTemplate>
            </telerik:RadTreeView.ItemTemplate>
        </telerik:RadTreeView>

--------------------------------------------------------------------------------------------

Bounded command [TreeSelectCommand] is doing nothing.

Do you know, Why color changed?

Dinko | Tech Support Engineer
Telerik team
 answered on 17 May 2018
3 answers
486 views
Well basically, I'm virtualizing the RadTreeView and I get a problem with the scroll bar where it gets smaller as I scroll down. Isn't there a way where it already knows what size it should be and just use that size from the start? That's how the native WPF TreeView works.

This is what I'm talking about:

http://www.screencast.com/users/CarloToribio/folders/Jing/media/97917e36-82fd-469a-8fb5-379767fa5974

Thanks.
Martin Ivanov
Telerik team
 answered on 17 May 2018
2 answers
117 views

Hi, I am using a telerik:RadMaskedNumericInput control but I need to grouping by 3 numbers on left for example:

Before: 21.232

After (How I need!): 212.32

 

How? Thks!

Stefan
Telerik team
 answered on 17 May 2018
1 answer
216 views

Hi.

When touch scrolling a gridview vertically there's an effect when you reach the end of the list that moves the whole application window.

How to turn off this effect?

Yoan
Telerik team
 answered on 17 May 2018
2 answers
1.6K+ views

We are using new version Telerik.Windows.Controls, we are getting the issues in xaml file ( Telerik.Windows.Controls.xaml) as below

 

Martin Ivanov
Telerik team
 answered on 17 May 2018
8 answers
399 views

Hi

I'm developing a management software for a multi-doctor study.
To organize their appointments I need to fill in the following fields:
Patient - with PatientId
Doctor - with DoctorId
Surgery - With SurgeryId
Service - With Serviceid
Date of appointment
Start date and time
End date and time
and other fields yet.
So, to create an appointment, I need to create an interface that can allow the choice of patients, doctors, surgeries, services from the related tables.

How can I achieve all this?
do I have to go through the custom appointment technique?
or can I replace it with a totally customized interface?
if so, how can I intercept the creation / modification of it?
thank you in advance
Gianfranco

Gianfranco
Top achievements
Rank 1
 answered on 16 May 2018
3 answers
274 views

Hello,

I am trying to maintain group header template hierarchy to make group and sub-groups. I was able to use the example GroupingAndFilteringWithTreeView to understand how the grouping works. This is the simplified code that I was able to implement to see the grouping in action:

<telerik:RadScheduleView AppointmentsSource="{Binding Appointments}">
            <telerik:RadScheduleView.ViewDefinitions>
                <telerik:TimelineViewDefinition StretchGroupHeaders="True" />
            </telerik:RadScheduleView.ViewDefinitions>
            <telerik:RadScheduleView.GroupDescriptionsSource>
                <telerik:GroupDescriptionCollection>
                    <telerik:ResourceGroupDescription ResourceType="Airlines" />
                    <telerik:ResourceGroupDescription ResourceType="Segregations" />
                </telerik:GroupDescriptionCollection>
            </telerik:RadScheduleView.GroupDescriptionsSource>
            <telerik:RadScheduleView.ResourceTypesSource>
                <telerik:ResourceTypeCollection>
                    <telerik:ResourceType Name="Airlines">
                        <telerik:Resource ResourceName="Airline 0" />
                        <telerik:Resource ResourceName="Airline 1" />
                    </telerik:ResourceType>
                    <telerik:ResourceType Name="Segregations">
                        <telerik:Resource ResourceName="Segregation 0" />
                        <telerik:Resource ResourceName="Segregation 1" />
                        <telerik:Resource ResourceName="Segregation 2" />
                    </telerik:ResourceType>
                </telerik:ResourceTypeCollection>
            </telerik:RadScheduleView.ResourceTypesSource>
</telerik:RadScheduleView>

Here, Appointments is just a new ObservableCollection with no appointments as AppointmentsSource.

This is the output I see:

Airline 0

  •      Segregation 0
  •     Segregation 1
  •     Segregation 2

Airline 1

  •     Segregation 0
        Segregation 1
        Segregation 2

What I see is that segregations are repeated for each Airline. And Both Airline and Segregation group headers template have the same Style and template applied to them.

However, I have a case where, for example, Airline 0 might have Segregation 3 and 4, whereas Airline 1 may have Segregation 5 and 6. I am trying to achieve this grouping:
Airline 0
     Segregation 0
    Segregation 1
    Segregation 2

Airline 1
    Segregation 3
    Segregation 4
    Segregation 5

Question 1: Can I achieve the above custom grouping behaviour? I was not able to find an example for it.

Question 2: If the above behaviour is possible, Can I have different templates for Airline and Segregation?

I hope I was able to explain my problem clearly. Looking forward to your reply.

 

Stefan
Telerik team
 answered on 16 May 2018
3 answers
1.6K+ views

I am using a context menu that gets loaded in the "CellLoaded" event for some cells (i.e. I want the context menu in some columns, but not in others).  I have this working beautifully except for one minor problem.  When the user right-clicks the cell, the row selection doesn't change.  So, if I right-click a cell that is not in the active row, the context menu is for a cell that is in an unselected row.  The visual of this is not satisfactory to the client.  "IsSynchronizedWithCurrentItem" works great for left-clicks, but doesn't seem to have any effect for right-clicks.  Is there an easy way to fix this so that if I right-click on a cell, the row selection changes to match?

I've been trying to do this using the grid's "ContextMenuOpening" event, but there doesn't seem to be enough information available in the arguments to tell me which row was clicked on.

Any help would be much-appreciated.

Thanks!

Brad.

Stefan
Telerik team
 answered on 16 May 2018
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?