Telerik Forums
UI for WPF Forum
1 answer
282 views
I'm in need of having a dynamic number of area series overlap each other in a meaningful way, and therefor I'm attempting to track down a way to set the areaseries fill property's opacity property, I have not yet been successful in any way shape or form to do so. The Xaml is shown below, any aid is greatly appreciated.

<telerik:RadCartesianChart DockPanel.Dock="Bottom" x:Name="UnderWaterEquityCurve" Palette="Windows8">
                                    <telerik:RadCartesianChart.Grid>
                                        <telerik:CartesianChartGrid MajorLinesVisibility="Y"/>
                                    </telerik:RadCartesianChart.Grid>
                                    <telerik:RadCartesianChart.Behaviors>
                                        <telerik:ChartPanAndZoomBehavior ZoomMode="Both" PanMode="Horizontal"/>
                                    </telerik:RadCartesianChart.Behaviors>
                                    <telerik:RadCartesianChart.HorizontalAxis>
                                        <telerik:DateTimeContinuousAxis LabelFitMode="Rotate" LabelFormat="dd/MM/yy"/>
                                    </telerik:RadCartesianChart.HorizontalAxis>
                                    <telerik:RadCartesianChart.VerticalAxis>
                                        <telerik:LinearAxis HorizontalAlignment="Right"></telerik:LinearAxis>
                                    </telerik:RadCartesianChart.VerticalAxis>
                                    <telerik:RadCartesianChart.SeriesProvider>
                                        <telerik:ChartSeriesProvider Source="{Binding VisiblePortfolios}">
                                            <telerik:ChartSeriesProvider.SeriesDescriptors>
                                                <telerik:CategoricalSeriesDescriptor ItemsSourcePath="UnderwaterEquityCurve" ValuePath="Value" CategoryPath="Date">
                                                    <telerik:CategoricalSeriesDescriptor.Style>
                                                        <Style TargetType="telerik:AreaSeries">
                                                            <Setter Property="LegendSettings" Value="{Binding Name, Converter={StaticResource SeriesSourceNameToSeriesLegendSettigsConverter}}"/>
                                                            <!-- Where I was attempting to change the fill property's opacity-->
                                                        </Style>
                                                    </telerik:CategoricalSeriesDescriptor.Style>
                                                </telerik:CategoricalSeriesDescriptor>
                                            </telerik:ChartSeriesProvider.SeriesDescriptors>
                                        </telerik:ChartSeriesProvider>
                                    </telerik:RadCartesianChart.SeriesProvider>
                                </telerik:RadCartesianChart>
Evgenia
Telerik team
 answered on 29 Aug 2013
1 answer
134 views
Hi,
as there have been some problems using RadPropertyGrid (I've posted the issues in the forum lately), I'm temporarily using Winform PropertyGrid instead. However, Winform PropertyGrid doesn't even show up when I tried to place it in RadWindow. Can you please test it or hopefully, get the RadPropertyGrid's converters to work? (Please refer to http://www.telerik.com/community/forums/wpf/property-grid/propertygrid-problems-in-2013-q2.aspx)
Thanks.
Vladi
Telerik team
 answered on 29 Aug 2013
3 answers
160 views
I'm working on getting a simple project together to try and recreate the issue and will post when I get it together.

I'm experiencing something similar to this thread from 2011. Inside of a long form RichTextBox the "physical" position of the caret onscreen does not match the logical position of the caret and when inserting or deleting the effect is quite disconcerting. 

What we have noticed is that the effect is accentuated primarily by the distance from the beginning of the text block. If the block of text is large (2K+) the offset is greater at the end of the document than near the beginning and, in fact, the first two or three paragraphs may not show any offset at all.

Font family and size do appear to have some effect on the problem but there does not appear to be any font/size combo (I worked hard at testing fixed-width fonts thinking they might not show the issue being, after all, fixed width) that works reliably.

From a layout perspective we have...
+ A master view that contains
   + A RichTextBoxRibbon
   + A Tab View that contains
     + A Wizard View on one tab
     + The RadRichTextBox within a user control

As I'm working on a sample project to illustrate is there any insight that might be offered if anyone else has run into this before and it was a simple fix?

Thanks!

rjsjr
Vasil
Telerik team
 answered on 29 Aug 2013
2 answers
158 views
Hi,

We are currently customizing The radscheduleview with a lot of custom styles and templates. One of the customer's requirements is to associate a remark with a date, We try to make this visible in the Radscheduleview by styling the TimeRulerItemTemplateSelector.MonthItemTemplate:

<DataTemplate>
<Grid>
<TextBlock HorizontalAlignment="Left" Text="{Binding FormattedValue}"/>
<Image Height="15" HorizontalAlignment="Right"  Margin="0,0,100,0" Source="pack://application:,,,/Images/speech_bubble.png">
<Image.ToolTip>
<TextBlock Text="Hi! I'm a tooltip"/>
</Image.ToolTip>
</Image>
</Grid>
</DataTemplate>


It's a very simplistic example, in our app we bind the text and visibility, but this has the same issue:
The Balloon displays nicely (image in attachment), but unfortunately the tooltip never pops up when you hover over the image. I guess this has something to do with the style, I'm guessing Zindexes but after experimenting a bit with the default styles I can't get the tooltip to show..

Any suggestions?

Thanks in advance!

EDIT: we use the Windows8 theme btw
Inge
Top achievements
Rank 1
 answered on 29 Aug 2013
1 answer
76 views
I know there is not direct support to allow dragging of the ComparitiveMeasure line in BulletGraph. However what I'd like to know if it is possible to do this via some kind of workaround?

Thanks,
Wouter
Evgenia
Telerik team
 answered on 29 Aug 2013
1 answer
151 views
Hi

I'm trying to implement a diagram control using databinding. But I'm unable to use creating connections by click on one of the shape's port and drag it to another shape's port like the examples in the WPF demo. I've tried to set "IsConnectorManipulationEnabled" to true that doesn;t work either. I've attached my GraphSourceBase code below. Any suggestions to enable the default connector behaviour in databinding method ?

public class CMGraphSource : GraphSourceBase<CMDeviceShapeViewModel, ILink>
{
 
    public CMGraphSource()
    {
        //Load initial objects into CMDiagram (Reciever and USBTripods)
        int TripodCount = ConnectionHandler.Instance.getUSBTripodCount();
 
        for (int i = 0; i < TripodCount; i++)
        {
            Tripod t = ConnectionHandler.Instance.getUSBTripod(i);
            AddItem(new TripodCMViewModel(t.id));
        }
 
        int RecieverCount = ConnectionHandler.Instance.getRecieverCount();
 
        for (int i = 0; i < RecieverCount; i++)
        {
            Reciever r = ConnectionHandler.Instance.getReciever(i);
            AddItem(new RecieverCMViewModel(r.id));
        }
 
        ConnectionHandler.Instance.PropertyChanged += onConnectionHandlerDeviceChange;
    }
 
    private void onConnectionHandlerDeviceChange(object sender, System.ComponentModel.PropertyChangedEventArgs e)
    {
        if (e.PropertyName.Equals("AddReciever", StringComparison.InvariantCultureIgnoreCase))
        {
            Reciever r = (Reciever)sender;
            AddItem(new RecieverCMViewModel(r.id));
        }
        else if (e.PropertyName.Equals("RemoveReciever", StringComparison.InvariantCultureIgnoreCase))
        {
            Reciever r = (Reciever)sender;
 
        }
        else if (e.PropertyName.Equals("AddUSBTripod", StringComparison.InvariantCultureIgnoreCase))
        {
            Tripod t = (Tripod)sender;
            AddItem(new TripodCMViewModel(t.id));
        }
        else if (e.PropertyName.Equals("RemoveUSBTripod", StringComparison.InvariantCultureIgnoreCase))
        {
            Tripod t = (Tripod)sender;
        }
    }
 
    public void AddItem(CMDeviceShapeViewModel model)
    {
        if (base.InternalItems.Contains(model))
            return;
 
        base.AddNode(model);
 
    }
 
}
Petar Mladenov
Telerik team
 answered on 29 Aug 2013
8 answers
723 views
Hello, I'm having an issue using the GridView..

I have an application (x86) that references several assemblies (any cpu)
The application references a WPF user control library, which contains, among many other parts, a window with a RadGridView.
When code wants to open this window, I get the following exception in the constructor:

Could not load file or assembly 'Telerik.Windows.Controls.GridView, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

What is going on here?
Paul
Top achievements
Rank 1
 answered on 28 Aug 2013
1 answer
233 views
In the RadRichTextBoxRibbonUI there is a collection of lists defined by default in the following drop-down button:



I would like to modify the properties (e.g. the hanging indent) of these default lists.  How would I modify these default lists programmatically?

Thanks.
Deyan
Telerik team
 answered on 28 Aug 2013
1 answer
152 views
When exporting a bulleted list via an HTMLFormatProvider, it seems that the hanging indent is lost.  For example when I enter a bulleted list into the RadRichTextBox as shown below


the hanging indent looks fine, but when the string is re-loaded (i.e. exported and imported) it looks like the following:


The hanging indent is lost, it seems.
Mihail
Telerik team
 answered on 28 Aug 2013
1 answer
183 views
Hey there,

I have a question about the setFloatingLocation() - method. I want to use it to place a floating pane in the middle of the main window of my app, also after the user has resized the main window. The method works fine for the first time I open the floating pane, but when i close the floating pane, resize the main window and then open the floating pane again, it re-opens at the same position it was before. Whay does the setFloatingLocation(pane, setPosition()); not work?

public void OnNewCbs(RadDocking dockingManager)
        {
            RadPane pane = GetPane(dockingManager.Panes, "NewEditCbs");
            if (pane != null)
            {
                RadDocking.SetFloatingLocation(pane, setPosition());
                pane.IsHidden = false;
            }
            else
            {
                pane = new RadPane();
                pane.Header = "New CBS/ Edit current CBS";
                pane.Name = "NewEditCbs";
                Frame frame = new Frame();
                frame.Content = new CbsNewAndEditView();
                pane.Content = frame;
                pane.CanDockInDocumentHost = false;
                ((RadPaneGroup)((RadSplitContainer)dockingManager.DocumentHost).Items[0]).AddItem(pane, DockPosition.Center);
                RadDocking.SetFloatingSize(pane, new Size(470, 740));               
                RadDocking.SetFloatingLocation(pane, setPosition());
                pane.MakeFloatingOnly();
            }
        }
 
        private Point setPosition()
        {
            Double x = ((App)App.Current).MainWindow.Left + (((App)App.Current).MainWindow.ActualWidth / 2.0 - 470.0 / 2.0);
            Double y = ((App)App.Current).MainWindow.Top + (((App)App.Current).MainWindow.ActualHeight / 2.0 - 740.0 / 2.0);
            Point p = new Point(x,y);
            return p;
        }

Thank you for your help!

Regards,
Achim
George
Telerik team
 answered on 28 Aug 2013
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
DataPager
PersistenceFramework
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?