Gets or sets the degree of the MultiScaleSubImage opacity.
Assembly: System.Windows (in System.Windows.dll)
Dependency property identifier field: OpacityProperty
An Opacity value of 0 does not exclude MultiScaleSubImage from hit testing. For example, a completely transparent MultiScaleSubImage would still shield elements underneath it from a mouse event like MouseLeftButtonDown.
When is set on elements that are nested, the effective opacity is the product of all applicable opacity factors. For instance, if an element that has Opacity=0.5 is contained in a Canvas that is also Opacity=0.5, the effective Opacity value is 0.25.
values greater than 1.0 are treated as 1.0 when the value is used, although obtaining the property value will still give you the original greater-than-one value. values less than 0 are treated as 0 when the value is used. For instance, setting an Opacity to 2 to cancel out the effects of a nested element with 0.5 Opacity does not work; the 2 value is treated as 1.0 even before the nested-element factoring is calculated.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Si vous souhaitez y participer,