Any ideas how I can create a small floating window (modal) over and existing WPF window?
I want to show a digital clock on the window/form at all times.
thanks in advance
Hi,
I have a one problem with panes in RadPaneGroup. I have one RadPaneGroup and three Panes in it. It is necessary to provide this features:
- move pane in RadPaneGroup (like Tabs in TabControl) - reordering;
- drag pane into separate window.
I can drad panes, it is no problem, but how can I move panes without drag pan from group?
I hope it problem have solution.
Hi,
i use the RadDocking Control with "Windows8Touch" Theme. After a move a Pane and Drop it somehwere else,
the theme is reseted. How can i save the theme during moving the Pane?
Thanks
Best Regards
M
Hi all,
I am trying to implement a feature whereby the user will drag an item from one list box and when they dump it into the other, before it is dumped, they will get a dialog which will ask them to set one of the properties of the item they wish to transfer. I am currently trying to abuse a dataconverter but it doesn't seem to be working.
Thanks,
Julian
Hi,
I'm really pulling my hair with this one, so any help I can get would be greatly appreciated!
Here is the thing... I am using MVVM and I need to create a grid with (to start with) one row and a variable number of columns. The name of the columns are based on property values in an object (see "ProductVariantFacade" below), so I need to set the name of the columns after the grid has been initialized. So I started out using an ObservableCollection<ProductVariantFacade> in my view model, like so:
public ObservableCollection<ProductVariantFacade> ProductVariantFacades { get; set; }Where ProductVariantFacade looks like this:
public class ProductVariantFacade : FacadeBase { public ProductVariantFacade() { Data = new List<ProductVariantData>(); } private string rowName; public string RowName { get { return rowName; } set { if (value != rowName) { rowName = value; OnPropertyChanged("RowName"); } } } public List<ProductVariantData> Data { get; set; } public void AddData(string headerName, string value) { Data.Add(new ProductVariantData { HeaderName = headerName, Value = value }); } } public class ProductVariantData : FacadeBase { private string value; public string Value { get { return this.value; } set { if (value != this.value) { this.value = value; OnPropertyChanged("Value"); } } } private string headerName; public string HeaderName { get { return headerName; } set { if (value != headerName) { headerName = value; OnPropertyChanged("HeaderName"); } } } }The inherited FacadeBase implements INotifyPropertyChanged. Then my RadGridView's columns are set up as so:
<telerik:RadGridView Name="VariantDetailsGrid" AutoGenerateColumns="False" Height="130" IsReadOnly="False" ItemsSource="{Binding ProductVariantFacades, Mode=TwoWay}" > <telerik:RadGridView.Columns> <telerik:GridViewDataColumn DataMemberBinding="{Binding RowName}" Header="" DataType="{x:Type sys:String}"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding Data[0].Value}" DataType="{x:Type sys:String}"> <telerik:GridViewDataColumn.Header> <TextBlock Text="{Binding ProductVariantFacades[0].Data[0].HeaderName, Mode=TwoWay, Source={StaticResource ProductViewModel}}" /> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn><telerik:RadGridView.Columns></telerik:RadGridView>I was hoping that when I set my ObservableCollection ProductVariantFacades in my view model, the name of the column (the header) would be updated as well. That is, when the ProductVariantFacades[0].Data[0].HeaderName is set to a value. But for some reason this doesn't work. If I via a Button change the value of e.g. ProductVariantFacades[0].Data[0].Value it gets updated in the grid. But the header does not get updated when I change it. Any idea as to why?
Could it have anything to do with that the DataContext of TextBlock is not the same as for the rest of the view? E.g. not the same as the DataContext that the Data[0].Value is "connected" to?
Please help, thanks!
Hello!
Is there a possibility to show alerts without show-duration - so the user have to close it manually?
thx