4 instantiations of MarginCollapsingState
PresentationFramework (4)
MS\Internal\PtsHost\MarginCollapsingState.cs (4)
41
mcsNew = new
MarginCollapsingState
(ptsContext, mbp.MarginTop);
83
mcsNew = new
MarginCollapsingState
(ptsContext, mbp.MarginBottom);
100
mcsNew = new
MarginCollapsingState
(ptsContext, 0);
137
return new
MarginCollapsingState
(this);
104 references to MarginCollapsingState
PresentationFramework (104)
MS\Internal\PtsHost\BaseParagraph.cs (1)
107
MarginCollapsingState
mcs,
MS\Internal\PtsHost\CellParaClient.cs (6)
197
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
247
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
294
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
MS\Internal\PtsHost\ContainerParagraph.cs (18)
468
MarginCollapsingState
mcs, // IN: input margin collapsing state
500
MarginCollapsingState
mcsContainer = null;
529
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
581
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
592
MarginCollapsingState
mcsNew = null;
593
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
635
MarginCollapsingState
mcs, // IN: input margin collapsing state
653
MarginCollapsingState
mcsContainer;
656
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
711
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
716
MarginCollapsingState
mcsNew;
717
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
766
MarginCollapsingState
mcs, // IN: input margin collapsing state
783
MarginCollapsingState
mcsContainer;
786
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
841
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
846
MarginCollapsingState
mcsNew;
847
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
MS\Internal\PtsHost\FigureParagraph.cs (4)
207
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
247
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
MS\Internal\PtsHost\FloaterBaseParagraph.cs (3)
93
MarginCollapsingState
mcs, // IN: input margin collapsing state
190
MarginCollapsingState
mcs, // IN: input margin collapsing state
198
MarginCollapsingState
mcs, // IN: input margin collapsing state
MS\Internal\PtsHost\FloaterParagraph.cs (10)
106
MarginCollapsingState
mcs, // IN: input margin collapsing state
283
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
308
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
453
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
476
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
560
MarginCollapsingState
mcs, // IN: input margin collapsing state
MS\Internal\PtsHost\MarginCollapsingState.cs (8)
33
MarginCollapsingState
mcsCurrent, // current margin collapsing state (adjacent to the new one).
34
out
MarginCollapsingState
mcsNew, // margin collapsing state for element entering the scope
73
MarginCollapsingState
mcsCurrent, // current margin collapsing state (adjacent to the new one).
74
out
MarginCollapsingState
mcsNew, // margin collapsing state for element leaving the scope
124
private MarginCollapsingState(
MarginCollapsingState
mcs) : base(mcs.PtsContext)
135
internal
MarginCollapsingState
Clone()
147
internal bool IsEqual(
MarginCollapsingState
mcs)
162
internal void Collapse(
MarginCollapsingState
mcs)
MS\Internal\PtsHost\PtsHost.cs (26)
979
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
1004
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclient) as
MarginCollapsingState
;
1035
MarginCollapsingState
mcs1 = PtsContext.HandleToObject(pmcsclient1) as
MarginCollapsingState
;
1037
MarginCollapsingState
mcs2 = PtsContext.HandleToObject(pmcsclient2) as
MarginCollapsingState
;
1072
MarginCollapsingState
mcs = null;
1075
mcs = PtsContext.HandleToObject(pmcsclient) as
MarginCollapsingState
;
2600
MarginCollapsingState
mcs = null;
2603
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2636
MarginCollapsingState
mcs = null;
2639
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2717
MarginCollapsingState
mcs = null;
2720
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2774
MarginCollapsingState
mcs = null;
2777
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2831
MarginCollapsingState
mcs = null;
2834
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3032
MarginCollapsingState
mcs = null;
3035
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3088
MarginCollapsingState
mcs = null;
3091
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3146
MarginCollapsingState
mcs = null;
3149
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
MS\Internal\PtsHost\SubpageParagraph.cs (15)
116
MarginCollapsingState
mcs, // IN: input margin collapsing state
135
MarginCollapsingState
mcsSubpage, mcsBottom;
181
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
253
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
274
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
318
MarginCollapsingState
mcs, // IN: input margin collapsing state
334
MarginCollapsingState
mcsSubpage, mcsBottom;
365
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
417
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
421
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
480
MarginCollapsingState
mcs, // IN: input margin collapsing state
495
MarginCollapsingState
mcsSubpage, mcsBottom;
525
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
576
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
580
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
MS\Internal\PtsHost\TableParagraph.cs (7)
89
MarginCollapsingState
mcs, // IN: input margin collapsing state
99
MarginCollapsingState
mcsOut = null;
100
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsOut, out dvr);
179
MarginCollapsingState
mcs = null;
182
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
184
MarginCollapsingState
mcsNew = null;
186
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcs, out mcsNew, out margin);
MS\Internal\PtsHost\UIElementParagraph.cs (6)
112
MarginCollapsingState
mcs, // IN: input margin collapsing state
118
MarginCollapsingState
mcsNew;
120
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsNew, out margin);
353
MarginCollapsingState
mcs, // IN: input margin collapsing state
356
MarginCollapsingState
mcsNew;
359
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, null, out mcsNew, out margin);