@@ -419,6 +419,39 @@ public bool CenterInParent
419419 new PropertyMetadata ( true )
420420 ) ;
421421
422+ public double ContentMinWidth
423+ {
424+ get => ( double ) GetValue ( ContentMinWidthProperty ) ;
425+ set => SetValue ( ContentMinWidthProperty , value ) ;
426+ }
427+
428+ public static readonly DependencyProperty ContentMinWidthProperty = DependencyProperty . Register (
429+ nameof ( ContentMinWidth ) ,
430+ typeof ( double ) ,
431+ typeof ( WindowedContentDialog ) ,
432+ new PropertyMetadata ( 320.0d , ( d , e ) =>
433+ {
434+ WindowedContentDialog self = ( WindowedContentDialog ) d ;
435+ self . ContentDialogContent . MinWidth = ( double ) e . NewValue ;
436+ } )
437+ ) ;
438+ public FlowDirection ContentFlowDirection
439+ {
440+ get => ( FlowDirection ) GetValue ( ContentFlowDirectionProperty ) ;
441+ set => SetValue ( ContentFlowDirectionProperty , value ) ;
442+ }
443+
444+ public static readonly DependencyProperty ContentFlowDirectionProperty = DependencyProperty . Register (
445+ nameof ( ContentFlowDirection ) ,
446+ typeof ( FlowDirection ) ,
447+ typeof ( WindowedContentDialog ) ,
448+ new PropertyMetadata ( FlowDirection . LeftToRight , ( d , e ) =>
449+ {
450+ WindowedContentDialog self = ( WindowedContentDialog ) d ;
451+ self . ContentDialogContent . FlowDirection = ( FlowDirection ) e . NewValue ;
452+ } )
453+ ) ;
454+
422455 public bool IsModal { get ; set ; }
423456
424457 public Window ? OwnerWindow { get ; set ; }
0 commit comments