Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Modify Hidden Item Cue Icon (Read 1513 times)
Albert
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 1
Joined: Mar 12th, 2018
Modify Hidden Item Cue Icon
Mar 12th, 2018 at 7:51pm
Print Post  
Hi there,

we are looking for a great calendar to integreate in our  application and are very impressed with your scheduler.
There is just one thing I would love to change and can't quite figure out how to do it. The "More Hidden Items Cue Icon" is just a little bit small and i can't seem to figure out how to change its size or replace the icon with a custom one, even though I searched for it in the documentation, samples and this forum.
So is there a way to modify it somehow? Or change the icon?

Regards,
Albert
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 2466
Joined: Oct 19th, 2005
Re: Modify Hidden Item Cue Icon
Reply #1 - Mar 13th, 2018 at 10:12am
Print Post  
Hi,

Thank you for your interest in our product! Unfortunately these images are very well hidden, and you can only reach them using reflection -

Code
Select All
PropertyInfo imagesInfo = typeof(Calendar).GetProperty("Images",
    BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);

var resourceCache = imagesInfo.GetValue(_calendar, null);
FieldInfo repositoryInfo = resourceCache.GetType().GetFields(
    BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)[0];
var repository = (Hashtable)repositoryInfo.GetValue(resourceCache);

repository["MoreDown"] = customMoreDown;
repository["MoreUp"] = customMoreUp;
repository["MoreLeft"] = customMoreLeft;
repository["MoreRight"] = customMoreRight;
 



We'll have in mind adding public API to access them for next release.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint