4 instantiations of MarginCollapsingState
PresentationFramework (4)
MS\Internal\PtsHost\MarginCollapsingState.cs (4)
44
mcsNew = new
MarginCollapsingState
(ptsContext, mbp.MarginTop);
86
mcsNew = new
MarginCollapsingState
(ptsContext, mbp.MarginBottom);
103
mcsNew = new
MarginCollapsingState
(ptsContext, 0);
140
return new
MarginCollapsingState
(this);
104 references to MarginCollapsingState
PresentationFramework (104)
MS\Internal\PtsHost\BaseParagraph.cs (1)
109
MarginCollapsingState
mcs,
MS\Internal\PtsHost\CellParaClient.cs (6)
202
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
252
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
299
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
MS\Internal\PtsHost\ContainerParagraph.cs (18)
473
MarginCollapsingState
mcs, // IN: input margin collapsing state
505
MarginCollapsingState
mcsContainer = null;
534
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
586
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
597
MarginCollapsingState
mcsNew = null;
598
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
640
MarginCollapsingState
mcs, // IN: input margin collapsing state
658
MarginCollapsingState
mcsContainer;
661
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
716
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
721
MarginCollapsingState
mcsNew;
722
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
771
MarginCollapsingState
mcs, // IN: input margin collapsing state
788
MarginCollapsingState
mcsContainer;
791
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
846
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
851
MarginCollapsingState
mcsNew;
852
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
MS\Internal\PtsHost\FigureParagraph.cs (4)
213
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
253
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
MS\Internal\PtsHost\FloaterBaseParagraph.cs (3)
99
MarginCollapsingState
mcs, // IN: input margin collapsing state
196
MarginCollapsingState
mcs, // IN: input margin collapsing state
204
MarginCollapsingState
mcs, // IN: input margin collapsing state
MS\Internal\PtsHost\FloaterParagraph.cs (10)
110
MarginCollapsingState
mcs, // IN: input margin collapsing state
287
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
312
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
457
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
480
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
564
MarginCollapsingState
mcs, // IN: input margin collapsing state
MS\Internal\PtsHost\MarginCollapsingState.cs (8)
36
MarginCollapsingState
mcsCurrent, // current margin collapsing state (adjacent to the new one).
37
out
MarginCollapsingState
mcsNew, // margin collapsing state for element entering the scope
76
MarginCollapsingState
mcsCurrent, // current margin collapsing state (adjacent to the new one).
77
out
MarginCollapsingState
mcsNew, // margin collapsing state for element leaving the scope
127
private MarginCollapsingState(
MarginCollapsingState
mcs) : base(mcs.PtsContext)
138
internal
MarginCollapsingState
Clone()
150
internal bool IsEqual(
MarginCollapsingState
mcs)
165
internal void Collapse(
MarginCollapsingState
mcs)
MS\Internal\PtsHost\PtsHost.cs (26)
984
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
1009
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclient) as
MarginCollapsingState
;
1040
MarginCollapsingState
mcs1 = PtsContext.HandleToObject(pmcsclient1) as
MarginCollapsingState
;
1042
MarginCollapsingState
mcs2 = PtsContext.HandleToObject(pmcsclient2) as
MarginCollapsingState
;
1077
MarginCollapsingState
mcs = null;
1080
mcs = PtsContext.HandleToObject(pmcsclient) as
MarginCollapsingState
;
2605
MarginCollapsingState
mcs = null;
2608
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2641
MarginCollapsingState
mcs = null;
2644
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2722
MarginCollapsingState
mcs = null;
2725
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2779
MarginCollapsingState
mcs = null;
2782
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2836
MarginCollapsingState
mcs = null;
2839
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3037
MarginCollapsingState
mcs = null;
3040
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3093
MarginCollapsingState
mcs = null;
3096
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3151
MarginCollapsingState
mcs = null;
3154
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
MS\Internal\PtsHost\SubpageParagraph.cs (15)
121
MarginCollapsingState
mcs, // IN: input margin collapsing state
140
MarginCollapsingState
mcsSubpage, mcsBottom;
186
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
258
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
279
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
323
MarginCollapsingState
mcs, // IN: input margin collapsing state
339
MarginCollapsingState
mcsSubpage, mcsBottom;
370
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
422
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
426
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
485
MarginCollapsingState
mcs, // IN: input margin collapsing state
500
MarginCollapsingState
mcsSubpage, mcsBottom;
530
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
581
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
585
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
MS\Internal\PtsHost\TableParagraph.cs (7)
97
MarginCollapsingState
mcs, // IN: input margin collapsing state
107
MarginCollapsingState
mcsOut = null;
108
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsOut, out dvr);
187
MarginCollapsingState
mcs = null;
190
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
192
MarginCollapsingState
mcsNew = null;
194
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcs, out mcsNew, out margin);
MS\Internal\PtsHost\UIElementParagraph.cs (6)
115
MarginCollapsingState
mcs, // IN: input margin collapsing state
121
MarginCollapsingState
mcsNew;
123
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsNew, out margin);
356
MarginCollapsingState
mcs, // IN: input margin collapsing state
359
MarginCollapsingState
mcsNew;
362
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, null, out mcsNew, out margin);