Slider with custom ticks (labels and pace)











up vote
1
down vote

favorite












I'm trying to make a custom Slider inside a UWP app, which should look and function somewhat like the scroll in Windows 10 built-in Photos application:



example screenshot from Windows 10 Photos app



There are two main features which exist in this screenshot, yet I couldn't find a way to implement myself:




  1. All the positions within the same range in the slider/scrollbar, should have the same tooltip value. In the screenshot example, you can see that all photos within a specific range of the slider (between two ticks) show the same tooltip, which is the name of that month.


  2. The gaps between the ticks aren't always the same. In the screenshot example, they rely on the amount of photos taken in each month, relatively to the total amount of photos.



I have found that in WPF, it's quite easy and straight-forward to set custom values for the ticks on a Slider (see here), but in UWP these attributes seem to be gone. Also, couldn't find anything about it in the official docs. I did notice there's a UWP control called TickBar, but couldn't find any examples in order to understand if it's relevant for my question.



Am I missing something, or is it really not possible to achieve such UX without making my own fully-custom UI Control?










share|improve this question
























  • @uwe-keim why remove the UWP from the title? it's an important part of the question, I'm not it's clear enough just from the tags.
    – Yoav Feuerstein
    Nov 10 at 9:36






  • 1




    Questions should not include tags in the title.
    – Uwe Keim
    Nov 10 at 13:13















up vote
1
down vote

favorite












I'm trying to make a custom Slider inside a UWP app, which should look and function somewhat like the scroll in Windows 10 built-in Photos application:



example screenshot from Windows 10 Photos app



There are two main features which exist in this screenshot, yet I couldn't find a way to implement myself:




  1. All the positions within the same range in the slider/scrollbar, should have the same tooltip value. In the screenshot example, you can see that all photos within a specific range of the slider (between two ticks) show the same tooltip, which is the name of that month.


  2. The gaps between the ticks aren't always the same. In the screenshot example, they rely on the amount of photos taken in each month, relatively to the total amount of photos.



I have found that in WPF, it's quite easy and straight-forward to set custom values for the ticks on a Slider (see here), but in UWP these attributes seem to be gone. Also, couldn't find anything about it in the official docs. I did notice there's a UWP control called TickBar, but couldn't find any examples in order to understand if it's relevant for my question.



Am I missing something, or is it really not possible to achieve such UX without making my own fully-custom UI Control?










share|improve this question
























  • @uwe-keim why remove the UWP from the title? it's an important part of the question, I'm not it's clear enough just from the tags.
    – Yoav Feuerstein
    Nov 10 at 9:36






  • 1




    Questions should not include tags in the title.
    – Uwe Keim
    Nov 10 at 13:13













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm trying to make a custom Slider inside a UWP app, which should look and function somewhat like the scroll in Windows 10 built-in Photos application:



example screenshot from Windows 10 Photos app



There are two main features which exist in this screenshot, yet I couldn't find a way to implement myself:




  1. All the positions within the same range in the slider/scrollbar, should have the same tooltip value. In the screenshot example, you can see that all photos within a specific range of the slider (between two ticks) show the same tooltip, which is the name of that month.


  2. The gaps between the ticks aren't always the same. In the screenshot example, they rely on the amount of photos taken in each month, relatively to the total amount of photos.



I have found that in WPF, it's quite easy and straight-forward to set custom values for the ticks on a Slider (see here), but in UWP these attributes seem to be gone. Also, couldn't find anything about it in the official docs. I did notice there's a UWP control called TickBar, but couldn't find any examples in order to understand if it's relevant for my question.



Am I missing something, or is it really not possible to achieve such UX without making my own fully-custom UI Control?










share|improve this question















I'm trying to make a custom Slider inside a UWP app, which should look and function somewhat like the scroll in Windows 10 built-in Photos application:



example screenshot from Windows 10 Photos app



There are two main features which exist in this screenshot, yet I couldn't find a way to implement myself:




  1. All the positions within the same range in the slider/scrollbar, should have the same tooltip value. In the screenshot example, you can see that all photos within a specific range of the slider (between two ticks) show the same tooltip, which is the name of that month.


  2. The gaps between the ticks aren't always the same. In the screenshot example, they rely on the amount of photos taken in each month, relatively to the total amount of photos.



I have found that in WPF, it's quite easy and straight-forward to set custom values for the ticks on a Slider (see here), but in UWP these attributes seem to be gone. Also, couldn't find anything about it in the official docs. I did notice there's a UWP control called TickBar, but couldn't find any examples in order to understand if it's relevant for my question.



Am I missing something, or is it really not possible to achieve such UX without making my own fully-custom UI Control?







c# xaml uwp win-universal-app uwp-xaml






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 8 at 12:46









Uwe Keim

27.2k30126209




27.2k30126209










asked Nov 8 at 10:27









Yoav Feuerstein

8702836




8702836












  • @uwe-keim why remove the UWP from the title? it's an important part of the question, I'm not it's clear enough just from the tags.
    – Yoav Feuerstein
    Nov 10 at 9:36






  • 1




    Questions should not include tags in the title.
    – Uwe Keim
    Nov 10 at 13:13


















  • @uwe-keim why remove the UWP from the title? it's an important part of the question, I'm not it's clear enough just from the tags.
    – Yoav Feuerstein
    Nov 10 at 9:36






  • 1




    Questions should not include tags in the title.
    – Uwe Keim
    Nov 10 at 13:13
















@uwe-keim why remove the UWP from the title? it's an important part of the question, I'm not it's clear enough just from the tags.
– Yoav Feuerstein
Nov 10 at 9:36




@uwe-keim why remove the UWP from the title? it's an important part of the question, I'm not it's clear enough just from the tags.
– Yoav Feuerstein
Nov 10 at 9:36




1




1




Questions should not include tags in the title.
– Uwe Keim
Nov 10 at 13:13




Questions should not include tags in the title.
– Uwe Keim
Nov 10 at 13:13












1 Answer
1






active

oldest

votes

















up vote
0
down vote













It's not a Slider control. If you want to make such a control, you would have to do a lot of customization. You might need to make a UserControl. This UserControl nees some basic UWP controls to make it look like the MS Photos app.



For example, you might need an custom ItemsControl(the StaggeredPanel looks very similar) to manage the layout of pictures in the page, and customize the ScrollBar, use two ItemsControls to show the Year/Month on the right side. You also need some label to show the text when you pointer move on the ScrollBar, the label might be the TextBlock control etc. You also might need some animations.



Anyway, to make such a control, you need a lot of basic knowledge and do a lot of customization. It's complex. You could submit a Feature Request on WPDev UserVoice.






share|improve this answer





















  • Thanks for the detailed answer. Of course I could make my own customization which might turn out to be complex, I just wanted to see if there's an existing UI control or some other way around this, whether official or not :)
    – Yoav Feuerstein
    yesterday











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205818%2fslider-with-custom-ticks-labels-and-pace%23new-answer', 'question_page');
}
);

Post as a guest
































1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













It's not a Slider control. If you want to make such a control, you would have to do a lot of customization. You might need to make a UserControl. This UserControl nees some basic UWP controls to make it look like the MS Photos app.



For example, you might need an custom ItemsControl(the StaggeredPanel looks very similar) to manage the layout of pictures in the page, and customize the ScrollBar, use two ItemsControls to show the Year/Month on the right side. You also need some label to show the text when you pointer move on the ScrollBar, the label might be the TextBlock control etc. You also might need some animations.



Anyway, to make such a control, you need a lot of basic knowledge and do a lot of customization. It's complex. You could submit a Feature Request on WPDev UserVoice.






share|improve this answer





















  • Thanks for the detailed answer. Of course I could make my own customization which might turn out to be complex, I just wanted to see if there's an existing UI control or some other way around this, whether official or not :)
    – Yoav Feuerstein
    yesterday















up vote
0
down vote













It's not a Slider control. If you want to make such a control, you would have to do a lot of customization. You might need to make a UserControl. This UserControl nees some basic UWP controls to make it look like the MS Photos app.



For example, you might need an custom ItemsControl(the StaggeredPanel looks very similar) to manage the layout of pictures in the page, and customize the ScrollBar, use two ItemsControls to show the Year/Month on the right side. You also need some label to show the text when you pointer move on the ScrollBar, the label might be the TextBlock control etc. You also might need some animations.



Anyway, to make such a control, you need a lot of basic knowledge and do a lot of customization. It's complex. You could submit a Feature Request on WPDev UserVoice.






share|improve this answer





















  • Thanks for the detailed answer. Of course I could make my own customization which might turn out to be complex, I just wanted to see if there's an existing UI control or some other way around this, whether official or not :)
    – Yoav Feuerstein
    yesterday













up vote
0
down vote










up vote
0
down vote









It's not a Slider control. If you want to make such a control, you would have to do a lot of customization. You might need to make a UserControl. This UserControl nees some basic UWP controls to make it look like the MS Photos app.



For example, you might need an custom ItemsControl(the StaggeredPanel looks very similar) to manage the layout of pictures in the page, and customize the ScrollBar, use two ItemsControls to show the Year/Month on the right side. You also need some label to show the text when you pointer move on the ScrollBar, the label might be the TextBlock control etc. You also might need some animations.



Anyway, to make such a control, you need a lot of basic knowledge and do a lot of customization. It's complex. You could submit a Feature Request on WPDev UserVoice.






share|improve this answer












It's not a Slider control. If you want to make such a control, you would have to do a lot of customization. You might need to make a UserControl. This UserControl nees some basic UWP controls to make it look like the MS Photos app.



For example, you might need an custom ItemsControl(the StaggeredPanel looks very similar) to manage the layout of pictures in the page, and customize the ScrollBar, use two ItemsControls to show the Year/Month on the right side. You also need some label to show the text when you pointer move on the ScrollBar, the label might be the TextBlock control etc. You also might need some animations.



Anyway, to make such a control, you need a lot of basic knowledge and do a lot of customization. It's complex. You could submit a Feature Request on WPDev UserVoice.







share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









Xavier Xie - MSFT

4,4161315




4,4161315












  • Thanks for the detailed answer. Of course I could make my own customization which might turn out to be complex, I just wanted to see if there's an existing UI control or some other way around this, whether official or not :)
    – Yoav Feuerstein
    yesterday


















  • Thanks for the detailed answer. Of course I could make my own customization which might turn out to be complex, I just wanted to see if there's an existing UI control or some other way around this, whether official or not :)
    – Yoav Feuerstein
    yesterday
















Thanks for the detailed answer. Of course I could make my own customization which might turn out to be complex, I just wanted to see if there's an existing UI control or some other way around this, whether official or not :)
– Yoav Feuerstein
yesterday




Thanks for the detailed answer. Of course I could make my own customization which might turn out to be complex, I just wanted to see if there's an existing UI control or some other way around this, whether official or not :)
– Yoav Feuerstein
yesterday


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205818%2fslider-with-custom-ticks-labels-and-pace%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

鏡平學校

ꓛꓣだゔៀៅຸ໢ທຮ໕໒ ,ໂ'໥໓າ໼ឨឲ៵៭ៈゎゔit''䖳𥁄卿' ☨₤₨こゎもょの;ꜹꟚꞖꞵꟅꞛေၦေɯ,ɨɡ𛃵𛁹ޝ޳ޠ޾,ޤޒޯ޾𫝒𫠁သ𛅤チョ'サノބޘދ𛁐ᶿᶇᶀᶋᶠ㨑㽹⻮ꧬ꧹؍۩وَؠ㇕㇃㇪ ㇦㇋㇋ṜẰᵡᴠ 軌ᵕ搜۳ٰޗޮ޷ސޯ𫖾𫅀ल, ꙭ꙰ꚅꙁꚊꞻꝔ꟠Ꝭㄤﺟޱސꧨꧼ꧴ꧯꧽ꧲ꧯ'⽹⽭⾁⿞⼳⽋២៩ញណើꩯꩤ꩸ꩮᶻᶺᶧᶂ𫳲𫪭𬸄𫵰𬖩𬫣𬊉ၲ𛅬㕦䬺𫝌𫝼,,𫟖𫞽ហៅ஫㆔ాఆఅꙒꚞꙍ,Ꙟ꙱エ ,ポテ,フࢰࢯ𫟠𫞶 𫝤𫟠ﺕﹱﻜﻣ𪵕𪭸𪻆𪾩𫔷ġ,ŧآꞪ꟥,ꞔꝻ♚☹⛵𛀌ꬷꭞȄƁƪƬșƦǙǗdžƝǯǧⱦⱰꓕꓢႋ神 ဴ၀க௭எ௫ឫោ ' េㇷㇴㇼ神ㇸㇲㇽㇴㇼㇻㇸ'ㇸㇿㇸㇹㇰㆣꓚꓤ₡₧ ㄨㄟ㄂ㄖㄎ໗ツڒذ₶।ऩछएोञयूटक़कयँृी,冬'𛅢𛅥ㇱㇵㇶ𥄥𦒽𠣧𠊓𧢖𥞘𩔋цѰㄠſtʯʭɿʆʗʍʩɷɛ,əʏダヵㄐㄘR{gỚṖḺờṠṫảḙḭᴮᵏᴘᵀᵷᵕᴜᴏᵾq﮲ﲿﴽﭙ軌ﰬﶚﶧ﫲Ҝжюїкӈㇴffצּ﬘﭅﬈軌'ffistfflſtffतभफɳɰʊɲʎ𛁱𛁖𛁮𛀉 𛂯𛀞నఋŀŲ 𫟲𫠖𫞺ຆຆ ໹້໕໗ๆทԊꧢꧠ꧰ꓱ⿝⼑ŎḬẃẖỐẅ ,ờỰỈỗﮊDžȩꭏꭎꬻ꭮ꬿꭖꭥꭅ㇭神 ⾈ꓵꓑ⺄㄄ㄪㄙㄅㄇstA۵䞽ॶ𫞑𫝄㇉㇇゜軌𩜛𩳠Jﻺ‚Üမ႕ႌႊၐၸဓၞၞၡ៸wyvtᶎᶪᶹစဎ꣡꣰꣢꣤ٗ؋لㇳㇾㇻㇱ㆐㆔,,㆟Ⱶヤマފ޼ޝަݿݞݠݷݐ',ݘ,ݪݙݵ𬝉𬜁𫝨𫞘くせぉて¼óû×ó£…𛅑הㄙくԗԀ5606神45,神796'𪤻𫞧ꓐ㄁ㄘɥɺꓵꓲ3''7034׉ⱦⱠˆ“𫝋ȍ,ꩲ軌꩷ꩶꩧꩫఞ۔فڱێظペサ神ナᴦᵑ47 9238їﻂ䐊䔉㠸﬎ffiﬣ,לּᴷᴦᵛᵽ,ᴨᵤ ᵸᵥᴗᵈꚏꚉꚟ⻆rtǟƴ𬎎

Why https connections are so slow when debugging (stepping over) in Java?