Hello,
how can I create a category menu as in the Appointment dialog itself.
This refers to the dialogue with the Ribbon:
dataManager.DialogFactory =new Infragistics.Controls.Schedules.ScheduleDialogFactory ();I am using a derivative of AppointmentDialogCore so I have to create the ribbon itself.Thank you
Hello Marcus,
You can see the default templates that we used for our ApointmentDialog on your computer in the following file:
C:\Program Files (x86)\Infragistics\NetAdvantage 2012.1\WPF\DefaultStyles\Schedule\generic.xaml
In this file you can search for the style with TargetType="igSchedulePrim:ActivityDialogRibbonLite" and observe the internal implementation of this “ribbon”. You can copy this styles in your application and modify them in order to suit your scenario or to reuse the control depending on your requirements.
If you need any additional information on this matter or if I have misunderstand you in any way please let me know.
Hello Elena
Thanks for the reply.I tried your way before posting, unfortunately it does not give me the opportunity I need.My second attempt was the right of ribbon extending to the ActivityDialogHelperWpf.CreateActivityDialog / RibbonWindowContentHost Ribbon. But then I'm set on the base class "AppointmentDialogCore" and I use a derivation.The third attempt brought me to the other functions of ActivityDialogHelperWpf but here are all for my case interesting point static / internal.Now I go out of ideas.Can you give me a snippet that I (in code) can produce the Categories menu?
Would you please provide me with more details about your overall goal and some screenshots of the design that you are trying to achieve so I can be sure that we are looking into the same functionality.
Thanks in advance.
Hello Elena,
thanks for the reply.
Here parts of the program ...see attached file For the example shown, I created a style for MyAppointmentDialogCore.
I created a small sample for you in order to demonstrate how you can create a custom appointment dialog with our XamSchedule. In my sample I used the approached described in the following forum thread by modifying it to VB :
http://forums.infragistics.com/forums/p/61800/326769.aspx
In order to suit your desired design I can suggest you just modify the styles for the appointment dialog from the App.xaml file.
If you have any further questions on this you can feel free to ask.
I was just wondering did you have a chance to try my suggestion. If you still need any assistance on the matter, please do not hesitate to ask.
Hello Elena.
As explained in the last posting I had to build a derivation of the class „Appointment Dialog Core“ to locate additional functionality. But this means at the same time that I can´t use and extend the „full-featured appointment dialogue“.
That is why I produce/ create another „RibbonControl“. For the created ButtonTool Controls I use for example the Command „ActivityDialogCoreCommand.SaveAndClose“ to control the functionality etc.
Apart from one Button this process functions without any problems.
But what I need is a possibility to display the category menu for my own button. (In your example, I would again use their base).
I have sent your Product Idea directly to our product management team. Our product team chooses new Product Ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your friendly ID for this Product Idea is PI12080059.
If you would like to follow up on your Product Idea at a later point, you may contact Developer Support management via email. Please include the reference number of your Product Idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Hi Petar,
I think it would be helpful for many (and would save time) if the collection would be public.
Thanks for your support.
Hi Marcus,
Excuse me, I had missed your reply from the 12th. I have been looking into this and wasn’t able to find any built-in functionality rather than the one I already suggested. I can again suggest you inherit from ScheduleDialogFactory where the Categories functionality is already implemented, or if you want I can submit a new Product Idea on your behalf so that such collection might get available in a future volume release of ours.
Looking forward to hearing from you.
Hello Petar,
Unfortunately, their solution brings me no no more (see my posting 07/12/2012).
Your example gives me a "Category" Object not a "CategoryListItems" Object.
Is there a function that gives me instances of "CategoryListItems"?
Thank You
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.