TabView.CanTearOutTabs Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Obtiene o establece un valor que indica si se permiten o no arrastrar pestañas a una nueva ventana en este Control TabView.
public:
property bool CanTearOutTabs { bool get(); void set(bool value); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
bool CanTearOutTabs();
void CanTearOutTabs(bool value);
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
public bool CanTearOutTabs { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] set; }
var boolean = tabView.canTearOutTabs;
tabView.canTearOutTabs = boolean;
Public Property CanTearOutTabs As Boolean
Valor de propiedad
bool
true si las pestañas se pueden arrastrar a una nueva ventana; de lo contrario, false. El valor predeterminado es false.
- Atributos
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute
Comentarios
Para obtener más información y ejemplos, vea Vista de tabulación > Desmontaje de tabulación.
Cuando esta propiedad se establece en true, hace que se generen eventos TabTearOutWindowRequested y TabTearOutRequested en lugar del evento TabDragStarting y hace que se generen eventos ExternalTornOutTabsDropping y ExternalTornOutTabsDropped en lugar de TabStripDragOver, TabStripDrop, TabDragCompleted y TabDroppedOutside .