Telerik Forums
UI for WinForms Forum
1 answer
31 views

Hello,

is there any alternate available to apply specific theme directly on win form controls other than making a change in stylesheet (to apply different colors and appearance?) basically, for specific theme user wants to apply different color. one option is to create .tsp file and add it to resource. so is there any other way possible where user don't need to create. tsp or any other file and by using direct property he can achieve the same.  (controls like date time picker, calendar, tree view, Rad buttons etc.)

Thank you.

Dinko | Tech Support Engineer
Telerik team
 answered on 13 Mar 2025
1 answer
32 views

I want to set the selected date of the Calendar, like with the DateTimePicker.

The SelectedDate property, which allegedly has a getter and setter, does not seem to work.

radDateTimePicker1.Value = DateTime.Now.AddDays(-3);  // This works great. The picker displays the date from three days ago.

radCalendar1.SelectedDate = DateTime.Now.AddDays(-3); // This shows today's date.

What am I missing?

TIA!

 

Nadya | Tech Support Engineer
Telerik team
 answered on 06 Mar 2025
1 answer
103 views

Using RadCalendar and I thought is would be simple

I want all dates in the past to be disabled and I thought this would do it:

        private void radCalendar1_ElementRender(object sender, RenderElementEventArgs e)

        {
            if (e.Day.Date < DateTime.Now)
                e.Day.Disabled = true;
        }

Th goals is to have it look like this but it seems to have no effect and I can selected dates that the code set as disabled.

What am I missing?

Thanks

Carl

Nadya | Tech Support Engineer
Telerik team
 answered on 18 Jun 2024
1 answer
78 views

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="AimmsApp.Task.Views.AgendaMenu"
             xmlns:resx="using:AimmsApp.Resources"
             xmlns:input="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
             xmlns:views="clr-namespace:AimmsApp.Task.Views;assembly=AimmsApp"
             Title="{x:Static resx:Resources.Agenda}">
    <AbsoluteLayout x:Name="mainLayout">
        <input:RadCalendar x:Name="calendar" ViewMode="Agenda" AppointmentsSource="{Binding Appointments}">

            <input:RadCalendar.AgendaViewSettings>
                <input:AgendaViewSettings MonthItemFormat="YYYY MMM"
                                          WeekItemStartDateFormat="dd MMMM"
                                          WeekItemEndDateFormat="dd"
                                          DayItemFormat="EEE d MMM"
                                          AppointmentItemTimeFormat="HH mm"
                                          AppointmentItemEndDateFormat="MMM d"
                                          AppointmentItemStartDateFormat="MMM d" 
                                          IsHeaderSticky="True" 
                />
            </input:RadCalendar.AgendaViewSettings>
            <input:RadCalendar.BindingContext>
                <views:CalendarView />
            </input:RadCalendar.BindingContext>

        </input:RadCalendar>
    </AbsoluteLayout>
</ContentPage>

 

I tried with scheduler but there is no agenda view maybe somehow with dayview and remove the hours?

Nadya | Tech Support Engineer
Telerik team
 answered on 11 Mar 2024
2 answers
81 views

Is there a way, to get the RadCalendar to view similar to the calendar view in OUTLOOK.

This is what I am looking for:

Nadya | Tech Support Engineer
Telerik team
 answered on 06 Mar 2024
1 answer
211 views

Is there no API that basically provides?

It looked okay at first because it was implemented like the code below. However, pressing Next Button will not update on days other than that month.

        private void radCalendar1_ElementRender(object sender, RenderElementEventArgs e)
        {
            if (e.Day.Date.Year == DateTime.Now.Year
                && e.Day.Date.Month == DateTime.Now.Month
                && e.Day.Date.DayOfWeek == DayOfWeek.Sunday)
                     e.Element.ForeColor = Color.Red;
        }

First

After, Next Button Click

 

Maria
Telerik team
 answered on 10 Oct 2022
0 answers
112 views

Changed font and height of navigation bar.

However, you cannot change the size and location of the Previous/next button. What should I do?

HyenBae
Top achievements
Rank 1
 updated question on 06 Oct 2022
1 answer
150 views

hi

How to localization  the calendar in the filter radgridview

image atached

 

thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Jan 2022
1 answer
145 views
   

hi tanks for all controls

what by MouseWheel change mount in radtimepicker and calander

 

Sample code not work!
private void radDateTimePicker_RootElement_MouseWheel(object sender, MouseEventArgs e)
        {

            if(e.Delta>0)
            {

                radDateTimePicker.Value.AddMonths(1);

            }
        }

           

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Jan 2022
1 answer
116 views

hi

i have tow problem

1-how to change backcolor all friday(days) on calendar(datetimepicker)

my code not work


private void radDateTimePickerStart_ElementRender(object sender, RenderElementEventArgs e)
        {
            if (e.Day.Date.DayOfWeek==DayOfWeek.Friday)
            {
               
                e.Element.BackColor = Color.Red;


            }
           
        }

2-in atache image

title calendar not change CultureInfo("fa-IR", true);

Dinko | Tech Support Engineer
Telerik team
 answered on 07 Jan 2022
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
DateTimePicker
CollapsiblePanel
Conversational UI, Chat
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?