GitXplorerGitXplorer
w

winform.DropShadow

public
24 stars
9 forks
0 issues

Commits

List of commits on branch master.
Verified
4d9362cedbb1bb265dac58fcab9e241b15814427

fix link

wwenerme committed 2 years ago
Unverified
21c8deea1fc4f8108243eba9b5ab54dc91b48bc2

fix misspelling

wwenerme committed 11 years ago
Unverified
40d0453bdbb8c0f1257aa29c74ad6ce9bb100d08

update readme for tellets

wwenerme committed 11 years ago
Unverified
ff44fab7fb6ad1b586bb032affd5cbb947b82ac6

update readme

wwenerme committed 11 years ago
Unverified
a02616763c82df5a74c8540ae00c9575ca2cc224

update readme

wwenerme committed 11 years ago
Unverified
a0b90d1bff7c9001a75eaa2a4067ce696b7c02ff

update readme for tellets

wwenerme committed 11 years ago

README

The README file for this repository.

winform.DropShadow

A winform DropShadow demo

First, the idea is come from here.

I go farther, write a workable class here.

Old DropShadow

Usage:

var f = new Dropshadow(this)
{
	BorderRadius = 40,
	ShadowColor = Color.Blue
};

f.RefreshShadow();

Then I rewrite the class,now it looks like this, a real DropShadow.

Source is here.

One thing you should know is this class not consider the border-radius(takes form css).

Main property is

  • ShadowColor
  • ShadowV
  • ShadowH
  • ShadowSpread
  • ShadowBlur

The property is same as css box-shadow, see here

These propertyies

  • ShadowSpread
  • ShadowBlur
  • ShadowColor

require you manual call RefreshShadow().

Go to the demo project