Telerik Forums
UI for WPF Forum
6 answers
212 views

I'm able to change the default error text, but I want the text to be red. Here is my xaml:

 

 

Thanks for your help.

<xfDashboards:DashboardParameterControlBase x:Class="OneStream.Client.Silverlight.Dashboards.XFCalendarButtonControl"
    xmlns:xfPagesCS="clr-namespace:OneStream.Client.Silverlight"
    xmlns:xfSharedUI="http://onestream.com/sharedUI"
    xmlns:xfDashboards="clr-namespace:OneStream.Client.Silverlight.Dashboards"
    mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400">
 
 
    <Grid x:Name="layoutRoot" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Loaded="layoutRoot_Loaded">
        <Grid.Resources>
            <Style x:Key="calendarStyle" TargetType="telerik:RadCalendar" BasedOn="{StaticResource RadCalendarStyle}">
                <Setter Property="AreWeekNumbersVisible" Value="False" />
            </Style>
 
        </Grid.Resources>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="auto" />
        </Grid.ColumnDefinitions>
 
 
        <telerik:RadDatePicker x:Name="DatePicker" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0" Padding="6,4,6,4"
                           Foreground="{StaticResource DarkBlueTextBrush}" Grid.Row="1" Grid.Column="1"
                           DisplayFormat="Short" DateSelectionMode="Day" ErrorTooltipContent="Enter a valid date"
                           CalendarStyle="{StaticResource calendarStyle}" >
            
        </telerik:RadDatePicker>
    </Grid>
</xfDashboards:DashboardParameterControlBase>
Kathy
Top achievements
Rank 1
Veteran
 answered on 02 Jun 2020
2 answers
121 views

Hello.

We are thinking of upgrading from UI for WPF to DevCraft.UI.

The main driver behind this is to migrate our scheduler application.

So my question is: do I have the same features on the ASP.NET.Core scheduler component?

Is there something I will miss in the net.core component, other than the technology gap?

We make good use of: custom appointment, custom edit template, custom slots with special slot style selector, custom resources, paged list implementation of IPagedCollectionView and RadPager, recurrence, drag and drop, as well as custom filtering and ordering,  and so forth.
Is there something I will miss in the net.core component, other than the technology gap?

Thanks

Vladimir Stoyanov
Telerik team
 answered on 02 Jun 2020
1 answer
118 views
<telerik:RadWatermarkTextBox x:Name="SearchWatermarkTextBox" Text="{Binding SearchText}"/>
<telerik:RadGridView Name="GridView" behavior:GridFilterBehavior.TextBox="{Binding ElementName=SearchWatermarkTextBox}">

Here is the example code.I can set text in datacontext SearchText property.But when the window opened,I cant see the data without filtered,then the girdview's BusyIndicator has been shown.It looks not good. How to let BusyIndicator be shown when the window opened or let the window opened after data has been filtered?

Thanks

zhang
Top achievements
Rank 1
 answered on 02 Jun 2020
5 answers
1.7K+ views
I want to have null as an option in a Combobox, but I can´t figure out how to do that. I´m using MVVM and adds a null value at index 0 to my bounded IList : regioner.Insert(0, null);

Nothing crashes but the user can´t choose the null item.

Best regards / Anna
Carsten
Top achievements
Rank 1
Veteran
 answered on 02 Jun 2020
3 answers
201 views

I use a checkbox PropertyDefinition  which contains NestedProperties,  I want to achieve the checkbox and the expand keep the same status, when the checkbox is checked the nestedProperties expand and when the checkbox is unchecked the nestedProperties unexpand    the code is as follow

                <telerik:PropertyDefinition
                                            Binding="{Binding ​IsShowDetail}"
                                            IsExpanded="{Binding â€‹IsShowDetail}">
                    <telerik:PropertyDefinition.NestedProperties>
                        <telerik:PropertyDefinition Binding="{Binding Path=Name,
                                                                      Mode=TwoWay}"/>
                        <telerik:PropertyDefinition Binding="{Binding Path=Description,
                                                                      Mode=TwoWay}"/>
                    </telerik:PropertyDefinition.NestedProperties>
                </telerik:PropertyDefinition>

 The "IsShowDetail " is a bool property,  the "Binging "and "IsExpanded "both binding to this property

but the "IsExpanded "have no effect

what is the reason for this and how to achieve this effect?

thanks 

Vera
Telerik team
 answered on 02 Jun 2020
3 answers
141 views

Hi,

     Is there any way to build the RadHeatMap control with decimal axis (x, y) values. Here I have attached the example input data.

Martin Ivanov
Telerik team
 answered on 01 Jun 2020
5 answers
568 views

Hey there,

I have previously used some Tools from Infragistiks. With them I have made a Drag and Drop thing, where I can take Buttons from different Lists on the left side and drop these on buttons on the right side. You can say the right list contains packages and the left side contains parts and now I say these two parts come together in one package.
I now am working to recreate this App with your tools, cause they are simply better. All other parts of the app are done and work, but this drag and drop I dont get to work.

The first problem is, that I don't get the buttons to drag... because of that I made a RadListBox instead of Buttons, but there I have now the problem, that I don't want to add something from the left listbox to the right listbox. It needs to drop into the item on the right side itself. And secondly I have problems with dropping on a button, because I don't have the feeling of a feedback. So the user will wonder, did it drop on the button I wanted it too?

 

I have uploaded a video how it was in the Infragistiks App to wetransfer:

https://we.tl/t-mMG3OKomF1

 

As you can see, there was every list just an ItemControl with Buttons, and only droppable on the right List. And if I hovered over a button, it became darker so it was a direct feedback where I will drop it.

 

I hope I was able to explain my problem, and that someone is able to help me.

 

Greetings
Benedikt

Benedikt
Top achievements
Rank 4
Iron
Iron
Iron
 answered on 29 May 2020
3 answers
697 views

Hello,

I am using a RadCartesianChart plotting a CandlestickSerie to it with a DateTimeCategoricalAxis and a LinearAxis.

I enabled the ChartPanAndZoomBehavior both on the horizontal mode.

When I plot, let's say, 200 candles the LinearAxis maximum and minimum are somewhat consistent with the candles min/max (but still I'd like to have it more fit). But if I zoom in, the LinearAxis min/max is not updated to fit best what is now displayed.

How can I get the current min / max of the DateTimeCategoricalAxis? I understand that there is no direct option to do so, but can I do it using the PanOffset or something else? Because with the min / max of the DateTimeCategoryAxis it would be very easy to programatically adjust the min / max of my LinearAxis.

I put two screen without zoom and with zoom where you can see that the LinearAxis min / max is not updated and I highlighted around where I'd like to have it (basically it's a function of the displayed high/low of the serie) 

 Regards

Marko
Top achievements
Rank 2
Iron
 answered on 28 May 2020
1 answer
126 views

Hi,

i need to format the style of a specific category. The categories represent months of the year. According to the current month, the category for this current month should be in bold font.

Martin Ivanov
Telerik team
 answered on 28 May 2020
3 answers
264 views

I use the IsReadOnlyBinding feature in some areas in GridView

Sample :  

IsReadOnlyBinding="{Binding AvgRateReadOnly}"

How can I change the background color for this  cells?(IsReadOnly Binding feature is false)

I can change cell background for Edit mode, but I want the change background color to look like the edit mode before  enter edit mode

How is possible?

Thanks

 
Vladimir Stoyanov
Telerik team
 answered on 28 May 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
PersistenceFramework
DataPager
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?