Table of contents
Collapse the table of content
Expand the table of content

ToggleButton.Shadow Property (Access)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Gets or sets the Shadow effect applied to the specified object. Read/write Long.


expression. Shadow

expression A variable that represents a ToggleButton object.


The Shadow property uses one of the values listed in the following table.

0 Default)None
1Offset Diagonal Bottom Right
2Offset Bottom
3Offset Diagonal Bottom Left
4Offset Right
5Offset Center
6Offset Left
7Offset Diagonal Top Right
8Offset Top
9Offset Diagonal Top Left
10Inside Diagonal Top Left
11Inside Top
12Inside Diagonal Top Right
13Inside Left
14Inside Center
15Inside Right
16Inside Diagonal Bottom Left
17Inside Bottom
18Inside Diagonal Bottom Right
19Perspective Diagonal Upper Left
20Perspective Diagonal Upper Right
22Perspective Diagonal Lower Left
23Perspective Diagonal Lower Right

To see the available shadow effects and apply a shadow through the user interface, first open the form or report in Layout view or Design view by right-clicking the form or report in the Navigation Pane, and then clicking the view you want. Then, click the object to which you want to apply a shadow effect. Next, on the Format tab, in the Control Formatting group, click Shape Effects, then click Shadow and choose a shadow effect. Notice that the shadow effects are indexed from left to right, and then top to bottom. So the first item, under No Shadow, has the value 0. Then, under Outer, the first row contains shadow effects with values from 1 to 3. The second row from 4 to 6, and so on.

This property is not surfaced in the property sheet.

See also


ToggleButton Object

© 2018 Microsoft