Hello Telerik,
I'm using RadGanttView and I want to change the main customtask color. Actually, it is Orange (default).
I know is it possible to Hilight all of Summarys Tasks (my target), but Hilight is Red, and I don't know how I can change his color.
Which way is better ? Change the Hilighted Task Color or apply a color for my custom task ?
The CustomMainTask (Summary Task) is created like this :
var task =
new
CustomGanttTask();
task.Start = variableAffichee.dateDebut;
task.End = variableAffichee.dateFin;
task.Title = viewModel.ListeVariables.Find(v => v.Id == variableAffichee.idVariable).Code.ToString();
//variable = une tâche principale variableAffichee.codeVariable
task.TitreColonne = task.Title;
task.Description = task.Title;
// this.viewModel.ListeVariables.Find(v => v.Id == variableAffichee.idVariable).Code.ToString();
task.BackgroundColor =
new
SolidColorBrush(
new
Color { A = 0, R = 0, G = 170, B = 0 });
//System.Windows.Media.Brushes.SteelBlue;
But the last line, BackgroundColor hasn't got any effect on the task. This is the same problem for Description and Title properties.
The CustomTask Class :
public
class
CustomGanttTask : GanttTask
{
public
Brush BackgroundColor {
get
;
set
; }
public
string
Affectation {
get
;
set
; }
public
int
IdCommentaire {
get
;
set
; }
public
string
TitreColonne {
get
;
set
; }
}
I attached a screenshot to show you my result.
Can you help me ?
Thank you !
Hi Telerik,
When setting a Dock Panel's IsActive property to true, the Panel will "slide" out over top of all other active windows, even if the application is not "Active" or has been minimized. The effect is that the sliding effect will show even when the application is minimized and other applications are active (i.e. Microsoft Word, etc.) and it can become disruptive. Could you please let us know if this is the intended behavior? We'd like the behavior of when setting IsActive to true, to not show the sliding effect when the application is not active or has been minimized.
Is there a property we can set so that the Panel does not appear as "top-most" when setting the Panel's IsActive property to true?
Please advise.
Kind regards.
Hi,
I have one column in RadGridview With combobox once I click on add new row , select a item in combobox and click somewhere in grid the value is not committing .Only when I select other row or click on the row header it is committing.I want to commit my cell data once I lose focus from that cell.How to achieve it??
Regards,
Nagasree.
Hi,
I tried to add patterned brushes for Categories to edit appointment dialog. the patterned brushes is similar to "tentative" timemarker in SDK samples.
but don't how to do it.
such as:
this.categories.Add(new Category("Unconfirmed project", myHatchBrush));
thanks,
-Jacky
ApplicationMenu is displayed in wrong position.
Some PCs display properly but others are not.
I used very simple xaml. Telerik for WPF version is 2017.1.117.45.
<Window x:Class="RadRibbonTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:RadRibbonTest"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable="d"
Title="MainWindow" Height="350" Width="525">
<Grid>
<telerik:RadRibbonView ApplicationButtonContent="File" >
<telerik:RadRibbonView.ApplicationMenu>
<telerik:ApplicationMenu>
<telerik:RadRibbonButton Text="New" />
</telerik:ApplicationMenu>
</telerik:RadRibbonView.ApplicationMenu>
</telerik:RadRibbonView>
</Grid>
</Window>
Hi.
I am trying to add new item into GridView with UI.
My GridView ItemsSource setting. Analytics_Passports_FIO implements INotifyPropertyChanged:
AnalyticsPassportsLinqToSqlDataContext dc =
new
AnalyticsPassportsLinqToSqlDataContext(Properties.Settings.Default.DefaultConnectionString);
var query = (from u
in
dc.Analytics_Passports_FIO select u);
var FIOs =
new
ObservableCollection<Analytics_Passports_FIO>(query);
GridFIODetails.ItemsSource = FIOs;
My FilterDescriptor inititalizing:
FilterDescriptor filter =
new
Telerik.Windows.Data.FilterDescriptor(
"user_id"
, Telerik.Windows.Data.FilterOperator.IsEqualTo, id);
GridFIODetails.FilterDescriptors.Clear();
GridFIODetails.FilterDescriptors.Add(filter);
If i am trying to add new item in GridView with default UI abilities(NewRow button) it doesn't appears in grid.
What am i doing wrong?
Greetings,
Please tell me how to make resizable scrollbar to transparent..
I will be using Visual Studio Test Pro 2015 (with MS Test Manager) and I need to know if MTM will recognize Telerik controls when I create an Action Recording on my WPF app.
Thanks!
-Dale