Telerik Forums
UI for WPF Forum
0 answers
139 views

I've modified the AppointmentItemHorizontalControlTemplate template to include a popup like so:

<ControlTemplate x:Key="AppointmentItemHorizontalControlTemplate" TargetType="telerikScheduleView:AppointmentItem">
        <Grid x:Name="Root">
            <Popup Style="{StaticResource AppointmentPopupStyle}" PlacementTarget="{Binding ElementName=Root}" />
...
</ControlTemplate>

 

The popup shows as expected, however when I try to selected something on the popup by holding down the left mouse button, a drag effect is initiated beneath it that is trying to move the appointment into another slot (e.g when using the Month View definition). Unfortunately no event is received in the popup until after the drag effect is initiated.

 

Is there are a way to cancel the drag effect of the schedule view when the user is interacting with a popup?

fsfsf
Top achievements
Rank 1
 asked on 17 Oct 2018
1 answer
318 views

now the fluent theme use the Aero effect,the background is too clear,

the Acrylic effect is better!

there is a opensource project: https://github.com/sourcechord/FluentWPF

the principal code:

     internal enum AccentState
    {
        ACCENT_DISABLED = 0,
        ACCENT_ENABLE_GRADIENT = 1,
        ACCENT_ENABLE_TRANSPARENTGRADIENT = 2,
        ACCENT_ENABLE_BLURBEHIND = 3,
        ACCENT_ENABLE_ACRYLICBLURBEHIND = 4,
        ACCENT_INVALID_STATE = 5
    }

   accent.GradientColor = 0x00FFFFFF;

  

Kalin
Telerik team
 answered on 17 Oct 2018
3 answers
170 views

Hello,

A multi-selection RadComboBoxis integrated into a cell of a RadGridView in the project that is attached.

The problem I have when trying to add a handle to an event to customize the loading of the multiple values of the RadComboBox.

This code does not work ...

FrameworkElementFactory dateFactory = new FrameworkElementFactory (typeof (RadComboBox), "Target");
dateFactory.SetValue (RadComboBox.AllowMultipleSelectionProperty, true);
dateFactory.SetValue (RadComboBox.ItemsSourceProperty, new List <string> {"DBF", "REP"});

                 // Add handler not rule
                 RoutedEventHandler handler = new RoutedEventHandler (LoadedTarget_RadComboBox);
                 dateFactory.AddHandler (RadComboBox.LoadedEvent, handler, true);



On the other hand, if I add the handler outside of a Grid it works correctly

Thanks in advance.

[I'm attaching the test project code concerning the problem]

Dilyan Traykov
Telerik team
 answered on 16 Oct 2018
2 answers
115 views

we are using 2 RadTreeview in of our form in WPF application.

we got a requirement that one RadTreeView will have  only one parent folder like Favoirites.

so whenever any folder is selected by user in another RadTreeview ,then that folder must be added in Favoirites

 

Ex:

RadTreeView1

 Favourites

  --->MyFolder

RadTreeView2

Categories

-->MyFolder

At first Favourites will be empty and when user will select MyFolder it will be getting added into Favourites.

 

Please help me.

 

 

 

Priyatam
Top achievements
Rank 1
 answered on 16 Oct 2018
0 answers
75 views

How can I force data-grid refresh on the Outlook Template for VS2018?

 

At this moment, when I make a change on the cell, I need to close the group and open the group to see the changes.

I am using observablecollection and INotifyPropertyChanges.

 

I saw in some forum that I can force the grid to update, I want to do this with a button which calls on a command function from the command file in the template.

e.g.   DataGridName.Item.Refresh();

But it seems like I can't find the reference to the datagrid at all.

Khoa
Top achievements
Rank 1
 asked on 16 Oct 2018
2 answers
140 views

Is there a way to have the Search box selected when a window with RadGridView is initialized? I want the user to be able to search straight away, without having to first click on the search box to enter text.

 

David
Top achievements
Rank 1
 answered on 15 Oct 2018
2 answers
84 views

Hi Telerik,

I'm working with your outlook inspired template for VS 2018 and is a bit stucked. 

For the moment, the data in the data-grid seem displays the data from the outlook section.

My problem is: I want the data in the data-grid to be displayed independently from the outlook section, which means, that by removing the outlook section, the data in the data-grid should not disappear.

What is the easiest way for me to achieve this, without breaking functionality like hasSelected unread/read?

However, the data I want to display is the exact same emails created in the SampleContentService, I just don't want to bind the data-grid to these folders in the outlook sections. 

 

Thanks

Khoa
Top achievements
Rank 1
 answered on 15 Oct 2018
1 answer
102 views

Hi,

How can I change ItemsSource in the outlook template?

At the moment, it seems like the e-mails shown in the data-grid is retrieved through the Outlook Section. 

How can I bind data independent of the outlook section? Because I'm thinking of removing the OutlookBar and OutlookItem (Panel of the left side), and this makes the e-mails from the data-grid disapp

 

        private static ObservableCollection<ContractGroup> _contractGroup;

        public static ObservableCollection<Contract> GetContracts(int size, string keyword)
        {
            var contracts = new ObservableCollection<Contract>();
            for (int i = 1; i <= size; i++)
            {
                XamlFormatProvider xamlFormatProvider = new XamlFormatProvider();

                contracts.Add(new Contract() { Symbol = test
            }

            return contracts;
        }

 

I want to retrieve the contracts,directly from the SampleContentService, how can I do this?

Khoa
Top achievements
Rank 1
 answered on 15 Oct 2018
0 answers
107 views
How to get all the titles with OutlineLevel='2' in a xamlDocument
zou
Top achievements
Rank 1
 asked on 15 Oct 2018
0 answers
80 views
How to add a diagonal line in a TableCell when create a table, see the attach file
zou
Top achievements
Rank 1
 asked on 15 Oct 2018
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
PersistenceFramework
DataPager
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
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?