or
<telerik:ChartArea.AxisX>
<telerik:AxisX x:Uid="telerik:AxisX_2"
AxisLabelsVisibility="Collapsed"
MajorTicksVisibility="Collapsed"
MinorTicksVisibility="Collapsed" />
</telerik:ChartArea.AxisX>
If remove them the chart is correctly displayed. Is it the right manner to hide all the ticks ?
I want the lightest graph possible : only the bar with the value number in it, no legend, no title, no tick, nothing else,...
Any help ?
- Cedric -
Here are the complete files:
The Xaml:
and the code of the ViewModel:
public class MainViewModel : ViewModelBase
{
public MainViewModel()
{
this.Items = new List<Item>()
{
new Item()
{
Level = 1,
Text ="AAAA",
StatusGroup = new List<StatusPerformance>()
{
new StatusPerformance("Success", new List<Performance>()
{
new Performance() { Name="TMI", Count=76},
new Performance() { Name="TXT", Count=39}
}),
new StatusPerformance("Misrecognition", new List<Performance>()
{
new Performance() { Name="TMI", Count=15},
new Performance() { Name="TXT", Count=33}
}),
new StatusPerformance("Unknown", new List<Performance>()
{
new Performance() { Name="TMI", Count=62}
})
}
},
new Item() { Level = 2, Text ="BBBB"},
new Item() { Level = 3, Text ="CCCC"},
new Item() { Level = 4, Text ="DDDD"},
};
}
public IList<Item> Items { get; private set; }
}
public class Item : ViewModelBase
{
private TileStateEnum tileState;
public int Level { get; set; }
public string Text { get; set; }
public TileStateEnum TileStateProp
{
get
{
return this.tileState;
}
set
{
if (this.tileState != value)
{
this.tileState = value;
this.NotifyPropertyChanged("TileStateProp");
}
}
}
public List<StatusPerformance> StatusGroup { get; set; }
}
public class StatusPerformance : List<Performance>
{
public StatusPerformance(string status, IList<Performance> performances)
{
this.Status = status;
this.AddRange(performances);
}
public string Status { get; private set; }
}
public class Performance
{
public string Name { get; set; }
public int Count { get; set; }
}

Hello, I have a small doupt about wpf bindinghere i have three classes,class LoanViewBO{ private string _companyName; private List<LoanBO> _loans; public string CompanyName { get { return _companyName; } set { _companyName = value; } } public List<LoanBO> Loans { get { return _loans; } set { _loans = value;} }} class LoanBO{ private List<LoanItemBO> _loanItems; private string _loanNumber; private string _items; private string _reference; public List<LoanItemBO> LoanItems { get { return _loanItems; } set { _loanItems = value;} } public string LoanNumber { get { return _loanNumber; } set { _loanNumber = value; } } public string Items { get {return _items;} set { _items = value;} } public string Reference { get { return _reference; } set { _reference = value; } }} class LoanItemBO { private int? _loanID; private string _loanNumber; private int? _itemID; private string _itemName; public int? LoanID { get { return _loanID; } set { _loanID = value; } } public string LoanNumber { get { return _loanNumber; } set { _loanNumber = value; } } public int? ItemID { get { return _itemID; } set { _itemID = value; } } public string ItemName { get { return _itemName; } set {_itemName = value;} }}Here i have only one textBox. which is going to bind Companyname..also i have two Telerik DataGrid .First dataGrid Bind with Loans and second dataGrid Bind withLoanItems .How to bind with in XAML? here i want to do Insert operation..how i shouldassign DataContext in Code , XAML and Bindings?(here one Loan may have many LoanItems)anybody suggest me? it will be appreciate. and also i want empty row when loading?Thank you..public GridViewHeaderCell()<StackPanel> <telerik:DataFormDataField DataMemberBinding="{Binding Credential.AccountName, Mode=TwoWay}" Label="Account:" /> <telerik:DataFormDataField DataMemberBinding="{Binding Credential.Username, Mode=TwoWay}" Label="Username:" /> <telerik:DataFormDataField Label="Old Password:"> <PasswordBox /> </telerik:DataFormDataField> <telerik:DataFormDataField Label="New Password:"> <PasswordBox /> </telerik:DataFormDataField> <telerik:DataFormDataField DataMemberBinding="{Binding Credential.Domain, Mode=TwoWay}" Label="Domain:" /> <telerik:DataFormCheckBoxField DataMemberBinding="{Binding Credential.IsPrimary, Mode=TwoWay}" Label="Is Primary:" /></StackPanel>
This is a DataTemplate I'm applying to my RadDataForm. However, that last CheckBox field is not displaying properly.
Here is a photo link showing what the output looks like:
http://public.bay.livefilestore.com/y1pD3zRBo_yIsJp0-maZiXz-MeCu6nKQT9fhvcgDuGN2fa-zm8OajKmj7AOZBA2YghLrpMM1bDuawWlr2ZbXaP9Pg/checkbox_issue.png?psid=1
I'm using the latest internal release of the WPF controls on trial. Any ideas?
<telerik:RadTabControl telerik:Theming.Theme="Windows7" BackgroundVisibility="Collapsed" TabStripPlacement="Left" TabOrientation="Vertical" DisplayMemberPath="Name" ItemsSource="{Binding ReviewCategoryModels}" ContentTemplate="{StaticResource ReviewSectionDetailTemplate}" Align="Right" ItemContainerStyle="{StaticResource ReviewCategoryTabStyle}" /><DataTemplate x:Key="ReviewSectionDetailTemplate"> <ListView x:Name="items" ItemsSource="{Binding Items}" AlternationCount="2" MinWidth="550" Style="{StaticResource ReviewItemListView}"> [...] </ListView></DataTemplate>