[]
Gets or sets a value that indicates whether a DropDownWindow can contain transparent content. This is a dependency property.
public bool AllowsTransparency { get; set; }
Public Property AllowsTransparency As Boolean
Type | Description |
---|---|
bool | true if the DropDownWindow can contain transparent content; otherwise, false. The default is false. |
A DropDownWindow control can only contain transparent content when the application runs with full trust. An application that runs with full trust has complete access to system resources and is typically installed on the local system. For more information, see Security (WPF).
This property cannot be set to true when the Popup is hosted in a XAML browser application (XBAP).
If the AllowsTransparency property is set to true in an application that does not run in full trust, the AllowsTransparency property value is changed to false. An application that is hosted in a browser is an example of an application that does not run in full trust.