Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9257515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:10:34+00:00 2026-06-18T12:10:34+00:00

It is straightforward to remap the linear values returned by a WPF slider control:

  • 0

It is straightforward to remap the linear values returned by a WPF slider control:

public double Multiplier
{
  get
  {
    switch ((int)sliderMultiplier.Value)
    {
      case 0: return 0.1;
      case 1: return 0.2;
      case 2: return 0.5;
      case 3: return 1;
      case 4: return 2;
      case 5: return 5;
      case 6: return 10;
      default: throw new ArgumentOutOfRangeException();
    }
  }
}

But the slider handle, while being dragged, is accompanied by a tooltip showing the selected value – the unmapped linear value. How can I supply the remapped value for display? Or get the slider to supply non-linear values directly?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:10:35+00:00Added an answer on June 18, 2026 at 12:10 pm

    Somebody else has solved this (as far as the tooltips are concerned). Couldn’t find a way of having the slider itself actually report a non-linear value range.

    http://joshsmithonwpf.wordpress.com/2007/09/14/modifying-the-auto-tooltip-of-a-slider/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a straightforward way in PHP to get an arbitrary complex value into
Its pretty straightforward to get the first x lines of a text file, but
Is there a straightforward way to get the index of an item I just
Very straightforward question: I've built a slider with (dynamic amount of slides), with a
Is there a relatively straightforward way to get the intersection of two DataTables in
This should be straightforward but I cannot get it to work. My HTML is:
I have a relatively straightforward hierarchical data master-detail WPF window, developed using MVVM, where
Straightforward question - apologies if it is a duplicate, but I can't find the
Fairly straightforward question here, but I can't seem to find someone who has asked
Very straightforward: Is it possible to prevent the browser from scrolling when a user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.