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 3444806
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:57:44+00:00 2026-05-18T08:57:44+00:00

I want to fade some elements (rectangles and ellipses) from the accent color to

  • 0

I want to fade some elements (rectangles and ellipses) from the accent color to transparent using a LinearGradientBrush. However – the transparent color is always a color and it seems like the color “Transparent” is #00FFFFFF – that is white with 0% opacity.

I would like to fade from PhoneAccentColor to PhoneTransparentAccentColor. So if my accent color is red I would like to fade to #00FF0000 and if it is green I would like to fade to #0000FF00.

I can’t find any built in color resource for transparent accent so what are my options here? I’ve tried the options below but with no real success and I can’t find much on this topic by normal search channels so I’m not really sure what I’m missing here.

Some suggestions I came up with (however with no real success as stated earlier):

  • Create a custom resource in code behind and push it into the application wide resource dictionary?
  • Can I expose a property on my ViewModels with the Color and bind to it?
  • 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-05-18T08:57:44+00:00Added an answer on May 18, 2026 at 8:57 am

    I can’t think of a way to specify a transparent accent color directly with xaml. I do have a couple of possible solutions.

    If possible you could animate the opacity of the object rather than the color itself.

    Of you could generate the color in code (probably during start up)

    var accentColor = (Color)Application.Current.Resources["PhoneAccentColor"];
    var transparentAccentColor = accentColor.A = 0;
    

    You could then store the color as a resource and reference it in xaml.

    Application.Current.Resources.Add("TransparentPhoneAccentColor", transparentAccentColor);
    

    Hope this helps.

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

Sidebar

Related Questions

Hi when I add a new component using Actionscript I want it to fade
I want to show some data on a form. The form should fade in
In my WebView , I have some block elements that have a background color
Say a element has value 55: <span id=some>55</span> I want to: fade out the
My app needs to play some audio files and I want to fade-out the
I want to get some text from php file and display on a browser
I have LI that I want to fade out and back in. Within the
I have 3 divs i want to fade in, then out and once they
I got a kind of weird problem: I want to fade images. The Code
Greetings to all... I want to use fade effect with jCarouselLite qualities. Is it

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.